|
-
October 13th, 1999, 02:38 AM
#1
localhost problem?
hi,
i had wrote a client - server application using JDK1.2.2.
the server is a java application, the client is a java applet and i am using
TCP/IP. both are running currently at my computer - "localhost".
when i am using Sun's AppletViewer it works just fine, but when i tried using
Internet Explorer 5 - it fails (got stacked) on something concerns
the "localhost" (not finding or can't access - unfortunately it is not in front
of me now).
i had tried reducing the security level of all the so called - zones, but - nada.
any suggestion?
oren.
-
October 13th, 1999, 08:26 AM
#2
Re: localhost problem?
If ur sure that u need to hardcode the host name in ur applet, try using "127.0.0.1" instead of "localhost" when u r creating the Socket.
Recommended is to use getCodeBase().getHost()
Will work wherever u put up ur applet.
Rgds,
R. Saravanan
-
October 13th, 1999, 09:11 AM
#3
Re: localhost problem?
hmmm....
thanks, i will try it.
oren.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|