I am running WebRick HTTP Server on Vista port 1001. I can access it well using localhost:1001

And as my ip address is 192.168.1.50 , I expected to be able to access using http://192.168.1.50:1001

But it's failed when I test in my browser. Although I can ping to 192.168.1.50. FYI, no proxy was setup in the browser setting.

It is working fine at other PC using Windows XP. Any clue?

Thanks.

link|improve this question
feedback

2 Answers

Windows Firewall involved? The firewall in Vista is somewhat agressive.

See http://support.microsoft.com/kb/947709 for information on how to change it at the command prompt. In this case just opening up the web server process might be the easiest thing to do but you can do specific ports as well.

You can do this through the GUI also but this is one of those things that I personally find easier at a prompt.

(I didn't really understand the last statement in the question, about "other XP Vista", so this might be a bogus answer.)

link|improve this answer
hello, thanks for your answer. I've edited the question btw. And .. I suspect similar thing about firewall, and had turned it off using Control Panel. But it did not work. Shall I use command line to turn it off? Thanks – iwan Feb 1 '11 at 7:51
feedback

you might want to configure some port forwarding on your router cp

link|improve this answer
This is nonsense, since he simply tries to access the server on his local machine with the LAN IP address and not to access it from the outside. This would be expected to work from any computer in the same LAN, as the router is never involved in this. – SvenW Feb 1 '11 at 3:20
when you type 192.168.1.50, the query goes to the router/switch and not to the localhost – fmysky Feb 1 '11 at 4:40
yeah i think it is nothing to do with the router.. since i tested in my local machine. but thanks for your reply :) – iwan Feb 1 '11 at 7:49
i guess mdns entries are usually sent out to switch/router – fmysky Feb 3 '11 at 5:37
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.