• 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Bear Bibeault
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Jj Roberts
  • Tim Holloway
  • Piet Souris
Bartenders:
  • Himai Minh
  • Carey Brown
  • salvin francis

ipaddress Vs localhost

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
 
You guys haven't done this much, have ya? I suggest you study this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
reply
    Bookmark Topic Watch Topic
  • New Topic