修改Jboss的默认端口

今天刚学ejb,Jboss也安装成功了,可输入localhost:8080什么都没有,我记得tomat当时没有用8080端口,应该不是tomcat的原因,网上下了个察看端口占用情况的软件,发现是被oracle占了,修改Jboss的默认端口。到jboss-4.2.3.GA/server/default/deploy/jboss-web.deployer下,打开server.xml,修改默认的8080端口为8081之类的就可以了。

JBOSS默认的各种设置文件中通常定义了以下几个端口:

 

 The ports found in the default configuration Port Type Service

。1099 TCP org.jboss.naming.NamingService
。1098 TCP org.jboss.naming.NamingService
。1162 UDP org.jboss.jmx.adaptor.snmp.trapd.TrapdService
。4444 TCP org.jboss.invocation.jrmp.server.JRMPInvoker
。4445 TCP org.jboss.invocation.pooled.server.PooledInvoker
。8009 TCP org.jboss.web.tomcat.tc4.EmbeddedTomcatService
。8009 TCP org.jboss.web.tomcat.tc4.EmbeddedTomcatService
。8083 TCP org.jboss.web.WebService
。8090 TCP org.jboss.web.OILServerILService
。8092 TCP org.jboss.mq.il.oil2.OIL2ServerILService
。8093 TCP org.jboss.mq.il.uil2.UILServerILService
。0a TCP org.jboss.mq.il.rmi.RMIServerILService
。0b UDP org.jboss.jmx.adaptor.snmp.agent.SnmpAgentService
a, This service binds to an anonymous TCP port and does not support configuration of the port or bind interface currently(3.2.2).
b, This service binds to an anonymous UDP port and does not support configuration of the port or bind interface.(3.2.2).

 

 

Additional ports found in the all configuration Port Type Service
。1100 TCP org.jboss.ha.jndi.HANamingService
。0a TCP org.jboss.ha.jndi.HANamingService
。1102 UDP org.jboss.ha.jndi.HANamingService
。3528 TCP org.jboss.invocation.iiop.IIOPInvoker
。45566b TCP org.jboss.ha.framework.server.ClusterPartition
a, Currently anonymous but can be set via the RmiPort attribute
b, Plus two additional anonymous UDP ports, one can be set using the rcv_port, and the other cannot be seen。

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值