[jboss-user] [Beginner's Corner] - Jboss Ports

J Kramer do-not-reply at jboss.com
Fri Nov 16 11:55:00 EST 2012


J Kramer [https://community.jboss.org/people/kramer27182] created the discussion

"Jboss Ports"

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

--------------------------------------------------------------
Hey guys,

I just started Jboss AS 5.1.0 on Mac OS X and  wanted to check out the admin console.  So went to:

 http://localhost:8080/admin-console http://localhost:8080/admin-console 

in my browser and got no response.  Okay... so I thought I would check out what's running.  Sure enough, there is a jboss process:





502  6639  6627   0  5:39PM ttys003 1:25.20 /usr/bin/java -Dprogram.name=run.sh -server -Dorg.jboss.resolver.warning=true -Dsun.rmi.dgc.client.gcInterval=10800000 -Dsun.rmi.dgc.server.gcInterval=10800000 -Xms4000m -Xmx8000m -XX:MaxPermSize=384m -XX:+UseCompressedOops -XX:+UseParallelOldGC -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Xloggc:/home/backend/gc.log -Djboss.platform.mbeanserver -Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl 
-Djava.endorsed.dirs=/Users/jkramer/adserver/jboss-5.1.0.GA/lib/endorsed -classpath /Users/jkramer/adserver/jboss-5.1.0.GA/bin/run.jar org.jboss.Main -c test -g test -b localhost -Dadverter.clusterid=1 -Dhornetq.remoting.netty.host=localhost -Dfetcher.bind.address=localhost -Dcluster.name=test-jkramer


Okay, so there is a jboss process with pid 6639.  Next I checked for open ports:

java      6639 jkramer   70u  IPv6 0xffffff8020343240      0t0  TCP localhost:rmiregistry (LISTEN)
java      6639 jkramer   71u  IPv6 0xffffff80206d4440      0t0  TCP localhost:http-alt (LISTEN)
java      6639 jkramer   77u  IPv6 0xffffff80206d4800      0t0  TCP localhost:sunproxyadmin (LISTEN)
java      6639 jkramer   79u  IPv6 0xffffff80206d3540      0t0  TCP localhost:8009 (LISTEN)
java      6639 jkramer  101u  IPv6 0xffffff802374e340      0t0  TCP localhost:14713 (LISTEN)
java      6639 jkramer  102u  IPv6 0xffffff80206d3900      0t0  TCP localhost:51696 (LISTEN)
java      6639 jkramer  108u  IPv6 0xffffff802374e700      0t0  TCP localhost:n1-fwp (LISTEN)
java      6639 jkramer  156u  IPv6 0xffffff80206d6600      0t0  TCP localhost:4712 (LISTEN)
java      6639 jkramer  201u  IPv6 0xffffff80206d4bc0      0t0  TCP localhost:rmiactivation (LISTEN)

Okay, so I have a couple of questions.  First, which of these is actually the main jboss AS service (where I can hit my web app or admin console with a web browser)?  I thought http-alt meant 80080, but no response? Second, what are all of these used for? Oh, and third (not really a jboss question), is there a way that I can get lsof to give me actual numeric port numbers instead of the port name?
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20121116/5405ec04/attachment.html 


More information about the jboss-user mailing list