On a certain IP on my server, I want another program (SHOUTcast) to use port 80.
How do I go about disabling the httpd service for a certain IP/port?
Thanks,
-Brian
On a certain IP on my server, I want another program (SHOUTcast) to use port 80.
How do I go about disabling the httpd service for a certain IP/port?
Thanks,
-Brian
Have you tried installing it on the server and seeing if it will run? Come across any errors?
search is your friend!
cPanel Specialist Certification::Technical
Make sure that you don't have any VirtualHosts using the IP address and that you have noe NameVirtualHost entries for it either in /etc/httpd/conf/httpd.confHow do I go about disabling the httpd service for a certain IP/port?
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
When I try to start my SHOUTcast server on that IP address, using port 80... I get an error (from SHOUTcast) that there is something already using that port.
When I shut down httpd, I can start SHOUTcast just fine on port 80, but then httpd fails to start.
There is nothing specifically set for that IP address (66.103.144.146) in httpd.conf. It looks as if CPanel is catching all requests to any of my ip's... whether they are assigned or not.
Any way to disable this?
-Brian
Apache binds to port 80 by default.. then from under that the VHosts are delegated.. yo ucan always add a new port the vhosts for any domain..
but by default I believe that apache will bind to port 80 for standard requests..
this would be found in the httpd.conf file
#
# Port: The port to which the standalone server listens. For
# ports < 1023, you will need httpd to be run as root initially.
#
Port 80
I think this might help you:
http://httpd.apache.org/docs/bind.html
Jonathan Michaelson
Need your cPanel servers secured and tuned?
cPanel Server Configuration, Security, Recovery and Antivirus/AntiSpam Services
Developers of the most effective (and free) Firewall & Security Solution for cPanel Servers - csf
http://www.configserver.com
So. To have apache *not* listen to port 80 for that certain IP, I should set up a vhost for that IP and assign a port other than 80?Originally Posted by Norman
Well the main apache standalone server will always bind to that port in httpd.conf when you start apache, regardless of what you got in your VirtualHosts.
Like chirpy said, read the doc ont he Bind command and see if that helps any..