[4696] in java-interest
Re: Connections to originating host using Netscape 2.0b5
daemon@ATHENA.MIT.EDU (Gibbons, Michael)
Thu Jan 11 04:58:42 1996
Date: 11 Jan 1996 08:40:33 +0000
From: "Gibbons, Michael" <Michael.Gibbons@mcl.co.uk>
To: java-interest@java.sun.com
Laurent,
We've managed a socket connection from an applet running in Netscape 2.0b5
back to the originating host. We had to do two things:
- use a full host and domain name when creating the socket:
Socket theSocket = new Socket("myhost.domain.name", 80);
- use THE SAME host and domain name when referring to the Web page from
Netscape:
http://myhost.domain.name/theDirectory/thePage.html
For this to work, your DNS must be able to cope with translating
myhost.domain.name.
It appears that you CANNOT use just the hostname "myhost".
Good luck!
Mike
-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com