How to change default port 8080 in WildFly

后端 未结 4 1888
粉色の甜心
粉色の甜心 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:59

    If youre running onLinux`, try this command at the start

    ./standalone.sh -b 0.0.0.0 -Djboss.socket.binding.port-offset=1000
    

    If youre working onWindows` environment,

    standalone.bat -Djboss.socket.binding.port-offset=1000
    

提交回复
热议问题