Koozali.org: home of the SME Server

Change Apache listening port

Offline landymas

  • *
  • 13
  • +0/-0
Change Apache listening port
« on: October 24, 2007, 12:38:31 PM »
I have a friend who runs two SMEServers behind a hardware firewall. He wants to set up one of them to listen for http requests on a port other than the standard port 80 and set up the appropriate forwarding on the firewall. What is the procedure?
Thanks

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: Change Apache listening port
« Reply #1 on: October 24, 2007, 12:46:25 PM »
I have a friend who runs two SMEServers behind a hardware firewall. He wants to set up one of them to listen for http requests on a port other than the standard port 80 and set up the appropriate forwarding on the firewall. What is the procedure?
Thanks
reading your desires it might be easier to leave the ports at port 80 and only forward the port on the gateway in between the SME Servers and the network. Than you only need to setup a portforward rule from an arbitrary outside port (e.g. 8080) to the local SME Server's port 80.

Code: [Select]
          INTERNET
           |   |
          80  8080
           |   |
          GATEWAY
           |   |
SMESERVER1:80  SMESERVER2:80
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline landymas

  • *
  • 13
  • +0/-0
Re: Change Apache listening port
« Reply #2 on: October 24, 2007, 01:49:14 PM »
Thanks,
One of those answers that was so simple that I, of course, never thought of it.