如何在jboss-7中更改端口号 [英] How to change port number in jboss-7

查看:161
本文介绍了如何在jboss-7中更改端口号的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用jboss-7,并且要将端口号从8080更改为7001.我需要更改哪个文件?

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

推荐答案

文件为$JBOSS_HOME/standalone/configuration/standalone.xml.在此处找到<socket-binding-group><socket-binding>.

The file is $JBOSS_HOME/standalone/configuration/standalone.xml. Find <socket-binding-group> and <socket-binding> there.

编辑

有多种方法可以做到这一点.推荐的方法是使用管理控制台. 如果JBoss AS在您的本地计算机上运行,​​请打开URL http://localhost:9990/console/App.html#socket-bindings并在其中编辑套接字绑定.我在Wildfly 8.1.0 Final上进行了测试,不知道该URL是否对其他版本的JBoss AS有效.

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.

这篇关于如何在jboss-7中更改端口号的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆