Sorry I'm getting confused because of the mixed comments
I tried port 80 and it didnt even let me host on that port.
Well, the one hosting on port 80 won't be sitting on the server I guess so in that case you'd need to sign it.
if the person who opens the applet and hosts on port 80, is there any way to use the ip of the website as theirs instead of their own so i dont have to sign it?
yes, you can connect back to the server that deliver the applet without signing
Socket Sample : (connect to the http server that deliver the applet)
Code:
Socket s=new Socket(getCodeBase().getHost(),getCodeBase().getPort());
URL sample : (read html embedding the applet using http)
Code:
URL u = new URL(getDocumentBase());
Do you mean the server of my site which hosts my webpage?
or a person who opens my applet and hosts from that