• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Java EE app not working when accessed with the IP address

 
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I bought a dedicated server and deployed the Java Enterprise application which I created with netbeans. Through the servers web browser if I access the Java EE app, http://localhost.... like wise, it perfectly works. But when I try to access the site from a remote web browser with the IP address (static) it doesn't work. Any idea why? I am very new to this deployment scenarios. Thanking you and regards
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What does "it doesn't work" mean? What exactly is or is not happening? Are there any exceptions in the log files?

Some servers (e.g. Tomcat) by default only allow access from localhost; you need to configure it to access it from other IPs.
 
Ransika deSilva
Ranch Hand
Posts: 524
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

The problem is when I try to access the application with the IP address from a different machine (not the server), I get a "Connection has time out". I have ADSL line and when I access the administrator console with the IP address and port 4848 from a different (not the server) machine, the page gets loaded. I am clueless to give you more details. But appreciate if you can help me out on this.

Regards
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic