Jump to content

IP Addresses


ringo

Recommended Posts

I was able to snatch up an extra IP block and imported it into TCAdmin. I removed one of the IPs that I wanted to reserve for another application and rs'd the monitor. The IP I wanted for the other application is still pointing to the TCA control panel. Anyone know how I can stop that. Thanks in advance.

Edited by ringo
Link to comment
Share on other sites

Here's the solution for anyone that may need it in the future.

 

The problem is that mono 2.10.8 does support binding to a specific IP. You need 3.0.6 or greater. What you can do is configure the website on port 8880. Then use iptables to only redirect port 80 to 8880 only YOURIP. You can use this command:

iptables -A PREROUTING -t nat -p tcp -d YOURIPHERE -m tcp --dport 80 -j REDIRECT --to-ports 8880
service iptables save

Then you are free to use port 80 on other IPs without having it redirect to the control panel website.

 

Thank you Luis.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Terms of Use