Socket server is the middleman for socket plugins. Individuals using the socket plugin must establish a connection to a common socket server in order to broadcast data to amongst each other.
For convenience, a public server is hosted on socket.kthisiscvpv.com on port 26388.
Use the following tutorial to set up your own socket server.
- Download
socket-server.jarandrun.bat. - Load the project into a folder.
- Launch
run.bat. - Retreive your IP address using any provider such as IPChicken.
- Share that IP address and the default port
26388with your friends. - Alternatively, you can run
java -jar socket-server-standalone.jar [PORT_NUMBER]to specify your own port number.
- Clone /socket-server-standalone
- Navigate to App.java.
- Execute. Change variables as necessary.
- Same as above, follow from Step 5 above to retrieve your IP address.
If you are hosting the server on your own computer, you can test whether or not the server is up by connecting to localhost.
If you are able to connect to the server locally, then you also need to port forward your router so others can connect to your home infrastructure from the outside.
