How to change port number in jboss-7

前端 未结 7 1821
-上瘾入骨i
-上瘾入骨i 2021-02-01 14:05

I am using jboss-7 and I want to change the port number from 8080 to 7001. Which file do I need to change?

7条回答
  •  萌比男神i
    2021-02-01 14:54

    The file is $JBOSS_HOME/standalone/configuration/standalone.xml. Find and there.

    EDIT

    There's multiple ways to do this. The recommended way is to use the management console. If JBoss AS runs on your local computer, open the URL http://localhost:9990/console/App.html#socket-bindings and edit the socket-bindings there. I tested it on Wildfly 8.1.0 Final, don't know if the URL is valid for other versions of JBoss AS.

提交回复
热议问题