This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 137043 - netbeans could not connect to the web server cannot show http://localhost:3000/
Summary: netbeans could not connect to the web server cannot show http://localhost:3000/
Status: RESOLVED INVALID
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 8.2
Hardware: All Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-11 20:50 UTC by geetarista
Modified: 2019-01-26 09:40 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log file (22.75 KB, text/plain)
2008-06-11 20:51 UTC, geetarista
Details
WEBrick output (1.83 KB, text/plain)
2008-06-11 20:51 UTC, geetarista
Details

Note You need to log in before you can comment on or make changes to this bug.
Description geetarista 2008-06-11 20:50:54 UTC
I receive the following error when trying to run the project:

Could not connect to the web server - cannot show http://localhost:3000/

Unlike issue 125084, I am not able to see the app by pointing my browser to http://localhost:3000/ and I am using the
current 6.1 version.  I tried using mongrel but I got the same issue.  I tried using a nightly build but I got the same
error as well.

The funny thing is that the main project was working fine but another project started having this error.  Now today I
get the error for every project--new or existing.
Comment 1 geetarista 2008-06-11 20:51:20 UTC
Created attachment 62696 [details]
IDE Log file
Comment 2 geetarista 2008-06-11 20:51:54 UTC
Created attachment 62697 [details]
WEBrick output
Comment 3 Erno Mononen 2008-06-12 09:05:46 UTC
Looks like a Rails issue, but hard to say what is causing it. Could you please try running the app under native Ruby 
instead of JRuby and also try running the server from the command line?
Comment 4 geetarista 2008-06-12 17:12:14 UTC
You are correct.  I ran it under native Ruby from the command line and got the same error.  The weird thing is that it
was working fine and just randomly stopped working.  I've searched around and can't find anything related--here or
anywhere else...
Comment 5 Erno Mononen 2008-06-12 19:10:46 UTC
I couldn't find anything either, unfortunately. I guess asking on the http://groups.google.com/group/rubyonrails-talk 
mailing list might help. I'm going to close this issue as it is a problem in Netbeans, thanks for reporting in any 
case. And of course, it would be great if you could update the issue with the solution when you find one!
Comment 6 geetarista 2008-06-17 20:46:33 UTC
I haven't received an answer from anybody in the Rails community.  However, the project does work if I run it in another
IDE, environment, etc.  I think there is an issue with the NetBeans gems or something.  I don't know what else to do. 
I'll just start using RadRails or something.
Comment 7 Erno Mononen 2008-06-17 21:10:01 UTC
Sorry to hear that - I wish I could help, but it doesn't really look like a NetBeans issue (the fact that you get the 
same error from the command line supports this) and I don't have much ideas on what could be causing this. Have you 
tried uninstalling and then reinstalling rails and all its dependent gems? Maybe trying a different version of Rails 
could help. Also, please make sure that you're using native Ruby for you Rails application (check the platform from 
project properties) to rule out the possibility that this is a JRuby issue. In addition, you may want to try installing 
a new version Ruby and/or JRuby. Lastly, if you could enable logging as explained at http://wiki.netbeans.org/
FaqRubyNBLogging and then attach the messages.log file I could have a look and see whether there would be any clues. 
Comment 8 geetarista 2008-06-17 21:46:43 UTC
Well, I uninstalled everything, deleted all files/folders dealing w/ NetBeans, and re-installed and now the server works...