Discussion:
[jboss-user] [Beginner's Corner] - How do I check and set the URL and port number for JBoss 5?
Andre Flory
2013-03-04 21:21:14 UTC
Permalink
Andre Flory [https://community.jboss.org/people/demisheep] created the discussion

"How do I check and set the URL and port number for JBoss 5?"

To view the discussion, visit: https://community.jboss.org/message/800686#800686

--------------------------------------------------------------
How do I check and set the URL and port number for JBoss 5? I have a existing JBoss installation in a zip file that I have extracted and started, which I am trying to use. How do I find out what URL and port number I need to type in my browser to access it when it's running? How would I go about modifying this setting to change the URL and port number?

JBoss 5.1.0.GA

I'm running this in windows 7.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/800686#800686]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Peter Johnson
2013-03-04 22:41:27 UTC
Permalink
Peter Johnson [https://community.jboss.org/people/peterj] created the discussion

"Re: How do I check and set the URL and port number for JBoss 5?"

To view the discussion, visit: https://community.jboss.org/message/800694#800694

--------------------------------------------------------------
Assumming noone change the defaults, you can access it via http://localhost:8080 http://localhost:8080

You can change the port in jboss-5.1.0.GA\server\default\deploy\jbossweb.sar\server.xml (same instructions as for Tomcat)

You can change the hostname by using the -b run option, see also the first netry here: https://community.jboss.org/docs/DOC-10179 https://community.jboss.org/wiki/JBoss42FAQ
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/800694#800694]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Andre Flory
2013-03-05 13:55:43 UTC
Permalink
Andre Flory [https://community.jboss.org/people/demisheep] created the discussion

"Re: How do I check and set the URL and port number for JBoss 5?"

To view the discussion, visit: https://community.jboss.org/message/800804#800804

--------------------------------------------------------------
Thank you! I found in the server.xml file that the http connector was commented out. I enabled it and was then able to access the localhost address with port 8080.
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/800804#800804]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]
Loading...