http://localhost:8031/demo/awt_index.html http://localhost:8031/demo/index.html
java.policy
file, add the following entry inside the permission granting block:
permission java.net.SocketPermission "localhost:8831", "connect, resolve";