aspose file tools*
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
Author

JBoss server : not being able to access port 8180

Rohit Rai
Ranch Hand

Joined: Aug 04, 2008
Posts: 53
Hi!

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 192.168.121.89:8080/MyTestApp normally. and i have started the server with
run -c myserver_1 -b 0.0.0.0

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

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

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

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

http://www.jboss.org/community/wiki/ConfiguringMultipleJBossInstancesOnOneMachine;

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
author
Bartender

Joined: May 14, 2008
Posts: 5837
    
    7

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-0.0.0.0-8080

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: http://aspose.com/file-tools
 
subject: JBoss server : not being able to access port 8180