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 173820 - [68cat] [run] Application launched within IDE is not visible to network
Summary: [68cat] [run] Application launched within IDE is not visible to network
Status: RESOLVED INCOMPLETE
Alias: None
Product: ruby
Classification: Unclassified
Component: Rails (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Erno Mononen
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-10-06 05:36 UTC by esmithbss
Modified: 2009-10-07 10:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log File (78.02 KB, text/plain)
2009-10-06 05:36 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2009-10-06 05:36:26 UTC
[ BUILD # : 200910010513 ]
[ JDK VERSION : 1.6.* ]

I am attempting to run/debug a rails 2.3.4 application.  When I
launch it using WEBrick within the IDE (using the built-in jruby
1.3.1), any attempt to connect to the application using any ip
address except for localhost fails to connect to the server.

This includes both the machine/host name and the dotted notation IP
address.

When launching the same application from the command line using
native ruby, the application is visible.

When launching the same application from the command line using the
built-in jruby 1.3.1, the application is visible
Comment 1 esmithbss 2009-10-06 05:36:56 UTC
Created attachment 88874 [details]
IDE Log File
Comment 2 esmithbss 2009-10-06 05:40:12 UTC
It appears that the connection fails when using WEBrick, but can be made successfully using Mongrel.
Comment 3 Erno Mononen 2009-10-07 10:25:37 UTC
What is the command you use launching the app from the command line? Do you specify the server explicitly, or just run 
script/server? In the latter case script/server runs mongrel by default (if installed).
Comment 4 Erno Mononen 2009-10-07 10:41:19 UTC
BTW, just noticed this on the JRuby list: http://www.ruby-forum.com/topic/196799