Name: Anonymous 2007-02-21 10:25 ID:wyGVwppN
Got a little web server going on. But, I don't want to open up port 80 on my firewall for various security reasons, of course.
I have an secondary port, let's call it port 9000 (which it ISN'T so don't even try.) .... (I said stop it!) Router takes that 9000 and points it to a protected server. Said server redirects that port 9000 to port 80 and sends it off to the webserver.
It works like a charm, actually. Except for one thing (I guess it isn't so much a charm as a twig snapped in half): How do I configure a remote system to automatically request port 9000?
The windows hosts file doesn't allow ports to be mapped, only urls. This can be solved with 'relative' linking in my html/php code, but I don't want to reprogram it all (which isn't that much I guess).
Is there a way to map ports much like a hosts file so that typing in: http://webserver will forward to a certain IP AND port?
I have an secondary port, let's call it port 9000 (which it ISN'T so don't even try.) .... (I said stop it!) Router takes that 9000 and points it to a protected server. Said server redirects that port 9000 to port 80 and sends it off to the webserver.
It works like a charm, actually. Except for one thing (I guess it isn't so much a charm as a twig snapped in half): How do I configure a remote system to automatically request port 9000?
The windows hosts file doesn't allow ports to be mapped, only urls. This can be solved with 'relative' linking in my html/php code, but I don't want to reprogram it all (which isn't that much I guess).
Is there a way to map ports much like a hosts file so that typing in: http://webserver will forward to a certain IP AND port?