• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JBoss server : not being able to access port 8180

 
Ranch Hand
Posts: 53
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.



 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic