File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JBoss/WildFly and the fly likes JBoss server : not being able to access port 8180 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » JBoss/WildFly
Bookmark "JBoss server : not being able to access port 8180" Watch "JBoss server : not being able to access port 8180" New topic

JBoss server : not being able to access port 8180

Rohit Rai
Ranch Hand

Joined: Aug 04, 2008
Posts: 53

I have configured an instance of a server in JBOSS_ROOT/server/myserver_2 with the port as 8180. Now I have two JBoss servers running on this machine one on 8080 and one on 8180.

I am being able to access the application using normally. and i have started the server with
run -c myserver_1 -b

But when i start the second server with
run -c myserver_2 -b

I am being able to access it only using http://localhost:8180/MyTestApp but not .

Any help ???
Thanks a lot ,
Dejan Mratinkovic
Ranch Hand

Joined: Nov 20, 2008
Posts: 65
Did you check:;

Is this how you specified different ports (as I don't see -Djboss.service.binding.set specified)

Could it can have something to do with -Djboss.messaging.ServerPeerID not being specified?

I have recently run 2 servers (I did use and configurations, not custom ones like you did), jut by following instructions from that site and it worked just fine.

Peter Johnson

Joined: May 14, 2008
Posts: 5852

When you start the app server, a few log entries before the "Started in xxx seconds" line you should see a line that looks like this:

INFO [Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-

Make sure that the IP address given in this entry matches the -b option you provided to the run script.

If that matches, then check your firewall and make sure that the port is open. You did not say which OS you were using but on Linux is you use iptables and don't open the ports things will run fine from localhost but you will not have remote connectivity.

JBoss In Action
I agree. Here's the link:
subject: JBoss server : not being able to access port 8180
It's not a secret anymore!