• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JBoss server : not being able to access port 8180

 
Rohit Rai
Ranch Hand
Posts: 53
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 65
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic