How to change Wildfly server's IP address

前端 未结 2 1774
失恋的感觉
失恋的感觉 2021-01-11 18:48

I\'m working on preparing a program that runs on Wildfly for deployment to a customer site, and I need to change the IP address that Wildfly launches on. How do I configure

2条回答
  •  伪装坚强ぢ
    2021-01-11 18:59

    You could set different ip address by changing public interface in the standalone.xml file. It should look like this:

    
        
    
    

    So, the server is now listening only on the specified ip address (after restarting). If you want allow all available network interfaces, you should place 0.0.0.0 instead (be careful with this).

提交回复
热议问题