Binding JBoss AS 7 to all interfaces

前端 未结 4 718
天涯浪人
天涯浪人 2021-01-29 22:40

I\'m running JBoss AS7 in a standalone mode using ./standalone.sh. This binds JBOSS to only localhost. Is there a way to bind it to all the hosts, I mean 0.0.0.0.

The ol

4条回答
  •  盖世英雄少女心
    2021-01-29 23:35

    Thanks for the tip above, FYI I discover that using might lead to

    10:31:22,605 ERROR [org.apache.catalina.core.StandardService] (MSC service thread 1-2) Connector.start: LifecycleException:  service.getName(): "jboss.web";  Protocol handler start failed: java.net.SocketException: Protocol family not supported
        at org.apache.catalina.connector.Connector.start(Connector.java:1058)
    

    cf. http://community.jboss.org/thread/168789?tstart=120

    You might workaround it by replacing it by

    that gives you :

    
        
            
        
        
            
        
    
    

提交回复
热议问题