Configuration.java at SERVER_ADDRESS = "localhost";
The above is in your client files and not server.
Change localhost to the vps ip that you host the server on.
|
|




Configuration.java at SERVER_ADDRESS = "localhost";
The above is in your client files and not server.
Change localhost to the vps ip that you host the server on.

The IP is not changed in the server files, that's decided by the hosting machine's IP.
As Arch says, if you need to connect to another IP, that's done in the client. There should be a Configuration class in the client to change the IP it connects to.
As for putting your server online on a VPS, just JAR it, throw it on the VPS (along with the data-folder), and run the JAR file. You should then be good to go.
Does anyone know how to connect the client to my VPS IP, if I set live_server to off I can run it fine on my VPS IP however some stuff is kinda glitched like I can't attack npc's and the teleport stuff at home doesn't work.
I found that if I put live_server to on and I connect it to my VPS IP it says error connecting to server, how can I make the server connect to my VPS IP since it seems to be only working on localhost at the moment.
Sorry for the dumb question kinda new to coding and rsps.




| « this version of the Java Runtime only recognizes class file versions up to 52.0 | Moving water?? » |
| Thread Information |
Users Browsing this ThreadThere are currently 1 users browsing this thread. (0 members and 1 guests) |