Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    4

    Default Disable httpd use of port 80 on specific IP?

    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

  2. #2
    Member
    Join Date
    Sep 2003
    Posts
    165

    Default

    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

  3. #3
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    How do I go about disabling the httpd service for a certain IP/port?
    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.conf
    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

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    4

    Default

    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

  5. #5
    Member
    Join Date
    Sep 2004
    Posts
    88

    Default

    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

  6. #6
    Super Moderator This forum account has been confirmed by cPanel staff to represent a vendor. chirpy's Avatar
    Join Date
    Jun 2002
    Location
    Go on, have a guess
    Posts
    13,495

    Default

    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

  7. #7
    Registered User
    Join Date
    Mar 2004
    Posts
    4

    Default

    Quote Originally Posted by Norman
    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
    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?

  8. #8
    Member
    Join Date
    Sep 2004
    Posts
    88

    Default

    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..

Similar Threads & Tags
Similar threads

  1. disable cpanel port on specific domains??
    By uninvited13th in forum Security
    Replies: 3
    Last Post: 07-01-2011, 08:24 PM
  2. SMTP on specific ip address on port 80
    By Ishware in forum E-mail Discussions
    Replies: 3
    Last Post: 09-09-2008, 12:59 AM
  3. Monitoring Bandwidth On A Specific Port
    By easyhttp in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-11-2004, 07:59 PM
  4. Open a specific port
    By Def in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 07-06-2004, 06:15 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube