• 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
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

ipaddress Vs localhost

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi guys,
i am using weblogic 6.1 for my EJB's and JSP's, but there is a strange problem i am facing. I am using JavaScript in my JSP, and it works fine when i use the http://locahost:7001/.... address in browser. But when i use the IP Address notation( http://204.144.141.226:7001/somePage.jsp) in my browser window, the onMouseOver event in the javascript is not executed. The same thing works if i change my URL to the localhost notation, it works fine !! Any clues about this behaviour ??
Raja Srinivas
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
The ip for localhost is usually 127.0.0.1, and this is the ip that problably you have your weblogic configured to run, if you want to change the ip adress from your WebLogic to some other ip you can do it using the WL console navigate to servers click in the name of your server and change the "Listen Adress" to a valid ip adress for this server(you�ll have to restart your server).
regards.
 
Ranch Hand
Posts: 98
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
thats probably because of your security settings, when you do a localhost ort the browser thinks of it as a local/safe zone but when you use the qualified ip its the internet (i think) zone ...if u tinker with the security settings a bit it might help
 
If you are using a rototiller, you are doing it wrong. Even on this tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic