MacResource
Apache: It's possible to change ports around, right? - Printable Version

+- MacResource (https://forums.macresource.com)
+-- Forum: My Category (https://forums.macresource.com/forumdisplay.php?fid=1)
+--- Forum: Tips and Deals (https://forums.macresource.com/forumdisplay.php?fid=3)
+--- Thread: Apache: It's possible to change ports around, right? (/showthread.php?tid=67069)



Apache: It's possible to change ports around, right? - Greg the dogsitter - 11-26-2008

On our server, Rails runs on port 12001. However, our corporate firewall blocks that port. It should be possible (never mind how) to get around that, right? Redirect from port 12001 to 80, or something like that?

No details necessary; I just need to know that this is, at least, possible.

Thanks!

GtDS


Re: Apache: It's possible to change ports around, right? - microchip - 11-26-2008

Yes. Everything's possible.


Re: Apache: It's possible to change ports around, right? - Seacrest - 11-26-2008

Depends.
If Apache is already listening on 80 at the same address, then Rails cannot.

You could always create a virtual host for rails that listens on 80 and forwards to a higher port number, though.

I think that's right, but I am not 100% certain.