Applet unable to access servlet

I have just made an applet which is hosted together on my server with the rest of my servlets.

Below is a code of the applet . Where getInfo is my servlet name

String Servletadd = "http://testing15.homedns.org:8084/testing/getInfo";

URL u = new URL(Servletadd);

con = u.openConnection();

However i can't open the socket to the servlet. I read about applets being able only to access its own server ip. In this case i am accessing my own server ip.

Or is there any way to get my server IP so that the applet recognise it as its own server ip?

Anyone have any idea? Thanks for the help in advance

[644 byte] By [Syrixa] at [2007-10-2 1:39:43]
# 1

URL u = new URL(this.getCodeBase(),"../relativeDir/someFileOrRecource");

When posting data make sure you read the response (even if you don't need it).

This is because otherwise a post might not be sent by the URL:

http://forum.java.sun.com/thread.jspa?threadID=645830&messageID=3816955

3rd post

Still problems?

A Full trace might help us out:

http://forum.java.sun.com/thread.jspa?threadID=656028

harmmeijera at 2007-7-15 19:03:13 > top of Java-index,Security,Signed Applets...