[Simpleweb-Support] Server IP Address & Mamba source code
Brought to you by:
niallg
From: Yang H. <yan...@ho...> - 2014-02-03 07:08:56
|
Dear SIMPLE team and all, (1) I read the tutorial on SIMPLE website http://www.simpleframework.org/doc/tutorial/tutorial.php and server.properties from mamba-1.1.tar I can NOT find how to specify IP address of server. (1a) From the tutorial SocketAddress address = new InetSocketAddress(port); connection.connect(address); (1b) From server.properties server.port=80 Therefore, it seems that we can only specify the server port, while we have to use localhost as default IP address of the server. (2) Mamba-1.1.tar does NOT include the source code for mamba-1.1.jar (executable jar file) (2a) in the folder of mamba-1.1, we can NOT find the subfolder "src" (2b) server.properties allows us to set the parameters of SSL, but the tutorial does NOT provide how to establish HTTPS connection (2c) when replacing simple-2.4.jar with simple-5.1.6.jar, we can NOT start the server using java -Dserver.properties=server.properties mamba.serve.Server (3) My question is here: Would you please let me know how to set the server's IP address and how to establish a HTTPS/SSL connection? Thank you very much for your help in advance. Best regards, Yang Hong |