[Singleplayer] Connecting Over LAN
Forum rules
- Search for existing answers before creating a new topic
- Topic titles must be descriptive and searchable
- Duplicate questions will be redirected to the existing answer(s) and locked.
- Search for existing answers before creating a new topic
- Topic titles must be descriptive and searchable
- Duplicate questions will be redirected to the existing answer(s) and locked.
[Singleplayer] Connecting Over LAN
I'm having trouble having someone else connect to my singleplayer server via LAN. I can have two instances running on the same server from the same computer, but not on two different computers. I tried running the singleplayer BAT launch (server+client) on one computer, but can't seem to connect on the other, using the multiplayer client (as suggested in a different, but similar thread). When I try to boot up the launcher on a different computer I get the js5connect, server is down error. Any help would be appreciated.
- Ceikry
- Site Admin
- Posts: 587
- Joined: Wed Aug 10, 2022 11:48 pm
- Location: Draynor Village
- Has thanked: 82 times
- Been thanked: 105 times
Re: [Singleplayer] Connecting Over LAN
If you want to do this, you should just play the live server we host instead.
Given, of course, that you have a stable net connection, there is no reason not to.
If you absolutely insist on playing solo, however, despite the fact that the community will miss you, all you need to do is change the IP that the client is trying to connect to. You need to change it to the LAN-local IP of the computer on your LAN that is hosting the server. For the standard multiplayer client, location varies based on OS.
Windows: C:\Users\You\config.json
Linux: /home/you/.local/share/2009scape/config.json
You need to change both ip_address and ip_management fields to match that LAN-local IP.
Given, of course, that you have a stable net connection, there is no reason not to.
If you absolutely insist on playing solo, however, despite the fact that the community will miss you, all you need to do is change the IP that the client is trying to connect to. You need to change it to the LAN-local IP of the computer on your LAN that is hosting the server. For the standard multiplayer client, location varies based on OS.
Windows: C:\Users\You\config.json
Linux: /home/you/.local/share/2009scape/config.json
You need to change both ip_address and ip_management fields to match that LAN-local IP.
Nerds
Re: [Singleplayer] Connecting Over LAN
I really appreciate the reply. It's basically so just my wife and I can play together...
I'm still having trouble connecting. Basically the steps I'm doing are as follows (let me know if any of it is dumb, I'm quite new).
1. Run singleplayer launch on Machine 1. Loads server and client fine.
2. Edit the config.json file in Users on Machine 2 to the IPv4 of Machine 1.
3. Run 2009scape.jar.
4. Unfortunately it still won't connect, get's stuck at the "2009scape is loading - please wait" screen.
I tried running singleplayer client.jar on Machine 2 with the included config.json edited to the IPv4 of Machine 1 but it gets stuck at the same spot.
Do I have to edit the the default.conf in worldprops on Machine 1?
I'm still having trouble connecting. Basically the steps I'm doing are as follows (let me know if any of it is dumb, I'm quite new).
1. Run singleplayer launch on Machine 1. Loads server and client fine.
2. Edit the config.json file in Users on Machine 2 to the IPv4 of Machine 1.
3. Run 2009scape.jar.
4. Unfortunately it still won't connect, get's stuck at the "2009scape is loading - please wait" screen.
I tried running singleplayer client.jar on Machine 2 with the included config.json edited to the IPv4 of Machine 1 but it gets stuck at the same spot.
Do I have to edit the the default.conf in worldprops on Machine 1?
- Ceikry
- Site Admin
- Posts: 587
- Joined: Wed Aug 10, 2022 11:48 pm
- Location: Draynor Village
- Has thanked: 82 times
- Been thanked: 105 times
Re: [Singleplayer] Connecting Over LAN
You probably don't have the right ports open *or* you have misconfigured JSON.
Can you send the full config.json please?
Can you send the full config.json please?
Nerds
Re: [Singleplayer] Connecting Over LAN
Oh my goodness it worked (sort of!) You've saved my marriage.
Basically I was getting super frustrated so I swapped machines and ran the server on the other machine and it worked. Not ideal, not sure why the one won't host but I got it working.
Thank you so much.
Basically I was getting super frustrated so I swapped machines and ran the server on the other machine and it worked. Not ideal, not sure why the one won't host but I got it working.
Thank you so much.