File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Basic Jboss (5.1) set up - port 8080 not accessible from outside

 
Michael Helwig
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I have (as I guess) a rather basic problem with setting up JBoss 5.1 on a virtual server running Debian 5.0. JBoss is up and running but not accessible from outside of localhost. I can access a deployed application via lynx from the ssh of the server (http://localhost:8080/sample/), but not from outside. The port is closed.
"nmap localhost" results in:


But running nmap with the name of the server results in:


Thats all, other ports are closed. The following is the JBoss-entry for "ps ax":


There is no firewall configured, at least no iptable-rules.

Probably there is some basic configuration issue either in my network settings regarding the server (but I can think of none) or in jboss itself. When Installing JBoss I basically followed the "unzip and run" style tutorials, so there was no kind of configuration file manipulated. It runs with the default configuration, only the hostname for the http-invoker (tomcat) in jboss-service.xml was set. Maybe there is some other configuration file I have to adapt?

If this problem was already discussed in this forum I would be glad if somewone would point me to the corresponding thread.

Thanks for any suggestions on this problem!

Michael H.

 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to set the -b flag

e.g.

will give access to all IP-adr. and host nams


will only give access to the IP-adr. 123.234.456.123 - or to the host name/domain www.abbdf.com
 
Michael Helwig
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wow thanks! That was trivial.
In fact, you mentioned this solution already here: http://www.coderanch.com/t/503154/JBoss/jboss-GA-work-localhost-but
Seems that I have simply searched for the wrong keywords.

Greetings,

Michael H.
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Glad I could help
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic