JRuby 1.2.0 does not bind socket to 0.0.0.0 properly
----------------------------------------------------

                 Key: JRUBY-3541
                 URL: http://jira.codehaus.org/browse/JRUBY-3541
             Project: JRuby
          Issue Type: Bug
          Components: Core Classes/Modules
    Affects Versions: JRuby 1.2
         Environment: Ubuntu Linux 8.10.  x86  Wired and wireless networking 
enabled.
            Reporter: Eric M. Smith


When launching Webrick or Mongrel, the application is reported as starting on 
0.0.0.0:3000 but when looking at the netstat -aon for the connection, the 
binding information is incorrect and the application cannot be contacted.

MRI Behavior:

   Launch using ./script/server
   $ netstat -aon | grep 3000

tcp        0      0 0.0.0.0:3000            0.0.0.0:*               LISTEN      
off (0.00/0/0)



JRUBY 1.2.0 Behavior:

   Launch using {path to jruby}/jruby ./script/server
   $ netstat -aon | grep 3000

tcp6       0      0 :::3000                 :::*                    LISTEN      
off (0.00/0/0)


Functionally, these two are not the same.  When bound to 0.0.0.0:3000, the 
application can receive service requests on the specified port.

When bound to :::3000, the application doesn't see anything except requests to 
localhost.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to