Binding JBoss AS 7 to all interfaces

前端 未结 4 709
天涯浪人
天涯浪人 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:30

    Edit standalone/configuration/standalone.xml and insert the tag any-address instead of inet-address bound to 127.0.0.1 - Example:

    
        
            
        
        
            
        
    
    

    In the public interface, I've changed the original inet-address with any-address. After restarting, you'll be able to browse JBoss port 8080 over the network.

提交回复
热议问题