wood burning stoves
The moose likes Tomcat and the fly likes Change Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Change "localhost" to an ip-address" Watch "Change "localhost" to an ip-address" New topic

Change "localhost" to an ip-address

Pardito Pawns

Joined: Jun 22, 2010
Posts: 1
When i enter to


everything works like a charm

but when i do the same with my network ip (

i can see the page but i have no servlet functionality i get an "access denied"

how can i make my server works with instead of "localhost", what do i need to change ?
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

When you say "I can see the page" what page do you mean, a page that you wrote?
What servlet functionality isn't working?

Taking a stab in the dark: Do you have any URLs in your page with "http://localhost:8080...." in them?

Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
I agree. Here's the link: http://aspose.com/file-tools
subject: Change "localhost" to an ip-address
It's not a secret anymore!