I have a simple HTTPS test server implemented in Java, as shown below. It accepts client connections and sends back a piece of text about the socket. The problem is that it work
Try creating your server socket like this:
SSLServerSocket s = (SSLServerSocket) ssf.createServerSocket(8888, 0, null);
The null
as the last argument should tell the server socket factory to create a socket that is bound to all network interfaces.
Here's a link to the javadoc for that particular version of the method.