Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Change "localhost" to an ip-address

 
Pardito Pawns
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When i enter to

http://localhost:8080/index.jsp

everything works like a charm

but when i do the same with my network ip (192.168.1.10)

http://192.168.1.10:8080/index.jsp

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

how can i make my server works with 192.168.1.10 instead of "localhost", what do i need to change ?
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic