Greg Hauptmann
2006-Jul-14 12:09 UTC
[Rails] browser connection issue to http://localhost:3000/ on XP ?
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 in advance -- Posted via http://www.ruby-forum.com/.
Brian Hogan
2006-Jul-14 12:33 UTC
[Rails] browser connection issue to http://localhost:3000/ on XP ?
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. On 7/14/06, Greg Hauptmann <gregsfm@tpg.com.au> 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 in advance > > > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060714/d24b73cb/attachment.html
Steve Koppelman
2006-Jul-14 14:54 UTC
[Rails] Re: browser connection issue to http://localhost:3000/ on XP
1. 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. 2. 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 Hauptmann 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 in advance-- Posted via http://www.ruby-forum.com/.
Greg Hauptmann
2006-Jul-14 18:06 UTC
[Rails] Re: browser connection issue to http://localhost:3000/ on XP
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. [1] hosts file is good 127.0.0.1 localhost 127.0.0.1 www.mycookbook.com [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 ---------- ==========================================================================Active Routes: Network Destination Netmask Gateway Interface Metric 0.0.0.0 0.0.0.0 192.168.0.2 192.168.0.101 25 127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1 192.168.0.0 255.255.255.0 192.168.0.101 192.168.0.101 25 192.168.0.101 255.255.255.255 127.0.0.1 127.0.0.1 25 192.168.0.255 255.255.255.255 192.168.0.101 192.168.0.101 25 224.0.0.0 240.0.0.0 192.168.0.101 192.168.0.101 25 255.255.255.255 255.255.255.255 192.168.0.101 192.168.0.101 1 255.255.255.255 255.255.255.255 192.168.0.101 2 1 255.255.255.255 255.255.255.255 192.168.0.101 4 1 Default Gateway: 192.168.0.2 ========================================================================== thanks again -- Posted via http://www.ruby-forum.com/.
Greg Hauptmann
2006-Jul-14 21:36 UTC
[Rails] Re: browser connection issue to http://localhost:3000/ on XP
PS. I do run CyberSitter (content filtering) - but I have tried going into SUSPEND mode on this too. -- Posted via http://www.ruby-forum.com/.
Greg Hauptmann
2006-Jul-14 23:02 UTC
[Rails] Re: browser connection issue to http://localhost:3000/ on XP
Update - Got things working by using "netsh winsock reset" :) BTW: Does this make any sense to anyone? Reference: http://networksecurityarchive.org/html/NTBugtraq/2004-08/msg00041.html cheers -- Posted via http://www.ruby-forum.com/.
Possibly Parallel Threads
- browser connection issue to http://localhost:3000/ on XP ?
- Windows Command
- Authentication to Secondary Domain Controller initially fails when PDC is offline
- Authentication to Secondary Domain Controller initially fails when PDC is offline
- Authentication to Secondary Domain Controller initially fails when PDC is offline