Install Apache and Run it on specific mentioned ports between 2110 to 2250

Discussion in 'Apache' started by knightrider21, Jan 8, 2013.

  1. #1
    I need immediate help in installing an apache server in Linux centos and run it on any port between 2110 to 2250. I dont have much idea about the installation. If anyone could help me in posting a few step by step guide.

    I have logged in to SU and install apache by " yum install httpd"

    now how to I host on port betwwen 2110 to 2050 forwarded ports.

    Thanks
     
    knightrider21, Jan 8, 2013 IP
  2. MilesWeb

    MilesWeb Well-Known Member

    Messages:
    869
    Likes Received:
    36
    Best Answers:
    7
    Trophy Points:
    173
    #2
    apache being a service will work on single port. I doubt it will work on multiple ports for same IP address. An other alternative is to configure it so that the IP's are listened on different port numbers.
     
    MilesWeb, Jan 10, 2013 IP
  3. zacharooni

    zacharooni Well-Known Member

    Messages:
    346
    Likes Received:
    20
    Best Answers:
    4
    Trophy Points:
    120
    #3
    MilesGeek, it will if you set up the Listen directive to the port you desire with "Listen IP:port"

    knightrider21, you will need to forward them externally via your router.
     
    zacharooni, Jan 12, 2013 IP