• 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-4.2.2.GA work with localhost but not work while i m using IP and port

 
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello

I am using jboss-4.2.2.GA server i have deploy application in jboss-4.2.2.GA server while i am running this application on local system with

http://localhost:8080/cgtsi/jsp/Index.jsp

its working fine but while i m using

http://l258.100.60.225:8080/cgtsi/jsp/Index.jsp

ip address for running this application on my network it is not working no any error is showing on server side even this is not working on my system also.

following error is showing on browser

ERROR
The requested URL could not be retrieved

--------------------------------------------------------------------------------

While trying to retrieve the URL: http://258.100.60.225:8080/

The following error was encountered:

•Connection Failed
The system returned:

(110) Connection timed outThe remote host or network may be down. Please try the request again.

Your cache administrator is root.



i have tried to

run.bat -b l258.100.60.225:8080
and
run.bat -b l258.100.60.225

to start the server then also i m not be able to run this application on my system and in my network also



i m sufering this problem by last two days
please help me


thanks

 
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to use the -b flag as below

The -b flag will bind the IP-adr. - this means that you can only call the server with the given IP, but with the wildcard IP-adr 0.0.0.0 you can come from any IP.
 
Jagdish Hatagale
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rene Larsen wrote:You need to use the -b flag as below

The -b flag will bind the IP-adr. - this means that you can only call the server with the given IP, but with the wildcard IP-adr 0.0.0.0 you can come from any IP.




Thanks for your response but i did try this also but still problem is exisit .
 
Rene Larsen
Ranch Hand
Posts: 1179
Mac OS X Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I can only say - the wildcard IP 0.0.0.0 should work as I described it...

Do you have any 'old' JBoss process running??

The bind flag -b can be set to either an IP-adr. or a host name - i don't know what the used value l258.100.60.225 is referring to, because it has a leading letter L (in lowercase), and this would make the value into a hostname - is it a host name??
 
Jagdish Hatagale
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Rene Larsen wrote:I can only say - the wildcard IP 0.0.0.0 should work as I described it...

Do you have any 'old' JBoss process running??

The bind flag -b can be set to either an IP-adr. or a host name - i don't know what the used value l258.100.60.225 is referring to, because it has a leading letter L (in lowercase), and this would make the value into a hostname - is it a host name??



my system is in network and the ip address of system is 258.100.60.225 there is no small "l" in that ip address.
and jboss port is 8080
while i m using localhost:8080 its working fine
but not working with

-b 0.0.0.0
and
-b 258.100.60.225 also

and there is no any old jboss process is running .

dear i m sorting out this problem by last 3 days still i did not get any solution kindly address it

thanks

 
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
Look at your console output; a few lines before the "started in xxx seconds" message there will be a line that looks like this:

11:46:26,382 INFO [Http11Protocol] (main) Starting Coyote HTTP/1.1 on http-127.0.0.1-8080

Note that this line mentions the IP address to which you are bound. Please post that line.

Also, what OS are you running and what are the contents of your hosts file? An invalid hosts files can also cause this kind of problem. If you can't figure out the problem from looking at the host file, post it here. And don't forget to say which OS JBoss AS is running on.




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