[英]Change port number in JBoss EAP 6.0.1
Can anyone tell me where can I find the default port number for JBoss EAP 6.0.1 and how I can change it? 谁能告诉我在哪里可以找到JBoss EAP 6.0.1的默认端口号以及如何更改它? If there is a file I can edit, I would much prefer that than change it in Eclipse or something.
如果有一个我可以编辑的文件,我宁愿在Eclipse或其他东西中更改它。
我猜你在谈论HTTP的端口,默认为8080.你可以在JBOSS_HOME/standalone/configuration/standalone.xml
文件中更改它。
I know you mentioned you'd rather not use Eclipse, but in case you or anybody else may want to try, here's a simple alternative method to configure it through Eclipse: 我知道你提到过你不想使用Eclipse,但是如果你或其他任何人想要尝试,这里有一个简单的替代方法来通过Eclipse配置它:
After that you can simply right click on your project, select 'Run As', then 'Run on Server' (choose the Server you just configured), click 'Next' or 'Finish', and your project should open in a new browser on that port (ie localhost:8082/html5demo/) 之后,您只需右键单击您的项目,选择“运行方式”,然后选择“在服务器上运行”(选择刚刚配置的服务器),单击“下一步”或“完成”,您的项目应在新的浏览器中打开在该端口上(即localhost:8082 / html5demo /)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.