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.
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.
Created attachment 62696 [details] IDE Log file
Created attachment 62697 [details] WEBrick output
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?
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...
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!
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.
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.
Well, I uninstalled everything, deleted all files/folders dealing w/ NetBeans, and re-installed and now the server works...