I think I have network issue on my XP PC here trying to run up
InstantRails and using it. I create an application and run up the
server “ruby scripts/server” and it runs up, but then when I try to
browse to it the browser just sits and spins and doesn’t connect
I’ve tried: localhost:3000, 127.0.0.0:3000, 127.0.0.1:3000 + the IP
address that “ipconfig” reports but no luck.
I did have ZoneAlarm installed but I deinstalled this and restarted.
I did a month ago come across this problem and someone had posted a
windows command prompt line that did something like clear the XP network
connections or something, however now I can’t find this again
Can anyone help / give pointers re getting my browser to be able to
connect to webbrick on XP? (sounds stupid I know, but I’m stumped)
first check your hosts file. You should be able to modify this from
InstantRails. It might be goofy. There should be a localhost entry in
that
file.
If that looks okay, you could try
ipconfig /flushdns
to clear your DNS cache. Probably won’t help in this case though.
Lastly, ensure that the Windows XP Firewall isn’t blocking you. Turn it
off
for a second (stop the service or use net stop sharedaccess and
then
test your app.
If you’re using IE, are you typing http://localhost:3000 or simply
localhost:3000? Internet Explorer needs the “http://” portion of the URL
when a port number is specified.
Check your hosts file to make sure “localhost” isn’t redirecting
someplace else. This is unlikely if 127.0.0.1 also isn’t responding.
Greg H. wrote:
Hi,
I think I have network issue on my XP PC here trying to run up
InstantRails and using it. I create an application and run up the
server “ruby scripts/server” and it runs up, but then when I try to
browse to it the browser just sits and spins and doesn’t connect
I’ve tried: localhost:3000, 127.0.0.0:3000, 127.0.0.1:3000 + the IP
address that “ipconfig” reports but no luck.
I did have ZoneAlarm installed but I deinstalled this and restarted.
I did a month ago come across this problem and someone had posted a
windows command prompt line that did something like clear the XP network
connections or something, however now I can’t find this again
Can anyone help / give pointers re getting my browser to be able to
connect to webbrick on XP? (sounds stupid I know, but I’m stumped)
thanks, but I think none of these help - can anyone shed any light on
this one? Is there another network level diagnostic or reset I can run
to see what’s going on between the browser and the webrick server? OS
again is Windows XP.
[2] ipconfig /flushdns => didn’t help - this wasn’t the command I had
found previously that made things work I don’t think (i.e. the one which
I now can’t find on the net)
[3] Windows XP firewall is off, and I’ve deinstalled zonealarm
[4] Also if this helps here is an netstat output - you can see that the
browser does seemed to have triggered a TCP connection to the laptop I
guess (?)
C:\Gregs\INSTAN~1\rails_apps>netstat
Active Connections
Proto Local Address Foreign Address State
TCP FREDS_LAPTOP:1180 localhost:1181 ESTABLISHED
TCP FREDS_LAPTOP:1181 localhost:1180 ESTABLISHED
TCP FREDS_LAPTOP:1365 localhost:3000 ESTABLISHED
TCP FREDS_LAPTOP:3000 localhost:1365 ESTABLISHED