The moose likes BEA/Weblogic and the fly likes ipaddress Vs localhost Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Reply Bookmark "ipaddress Vs localhost" Watch "ipaddress Vs localhost" New topic
Author

ipaddress Vs localhost

raja srinivas
Greenhorn

Joined: Jun 22, 2001
Posts: 20
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
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 973
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.
manav kher
Ranch Hand

Joined: Nov 21, 2000
Posts: 98
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
 
IntelliJ Java IDE
 
subject: ipaddress Vs localhost
 
Threads others viewed
The connection was refused when attempting to contact localhost:7001
Help Accessing Jboss on Solaris/Linux
Localhost Vs IP Address
WebLogic 9 connection refused ?!
How to access web pages on internet using tomcat or other webserver?
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com

cast iron skillet 49er

more from paul wheaton's glorious empire of web junk: cast iron skillet diatomaceous earth rocket mass heater sepp holzer raised garden beds raising chickens lawn care CFL flea control missoula heat permaculture