How to change default port 8080 in WildFly

后端 未结 4 1876
粉色の甜心
粉色の甜心 2020-12-13 03:25

I just started JAVA EE development with WildFly 8.2. My first problem is how to change the default port 8080 to something else?

I found many xml files containing bel

4条回答
  •  时光说笑
    2020-12-13 03:58

    An alternative would be to start the WildFly instance by directly specifying the port in the startup command.


    Windows:

    standalone.bat -Djboss.http.port=1234
    

    *nix:

    standalone.sh -Djboss.http.port=1234
    

    This would start the port for http-remoting on 1234. Some context here.

提交回复
热议问题