Jump to content

rwg hosted on seperate pc, no one in the house can join but


Yakuto

Recommended Posts

rwg hosted on seperate pc, no one in the house can join but anyone on the internet can (cant join even if we try joining with ip.) When you try to join it says connecting, then after about 20 seconds it takes you back to the screen with new game/continue/join a game. Cant seem to find what i am looking for to fix this, anyone know what could be causing it?

Link to comment
Share on other sites

You sure you're using the outbound internet-facing IP address and not the local LAN address? Make sure you use the port number correctly too. Also, if your topology is set to lan you may just want to host it via lan instead and just connect directly to the computer that way

 

Well, we have tried on 2 different pc's, if i host it on one of the two pc's, i can join, and anyone outside the home can join, but other computer is not able to join. If i host on server pc, when i go to play on any other computer above thing happens where it just boots you back to menu after a minute or so, with no error or anything given. we have verified what ip address is on websites, and using ipconfig. If you have someone who is trying to join you and they are in the same home, they should be using ip connect right, not local host? (both do not work, but just asking)

Link to comment
Share on other sites

You're using the correct port number too right? That's important. Canthese computers connect to other servers? Try disabling Windows Firewall and see if that helps. Add exceptions if not. Also, post a client log / dedi server log to pastebin to see what's going on. Tbh I've never had this issue before, something simple must be off anyway. Hopefully lol

Link to comment
Share on other sites

You're using the correct port number too right? That's important. Canthese computers connect to other servers? Try disabling Windows Firewall and see if that helps. Add exceptions if not. Also, post a client log / dedi server log to pastebin to see what's going on. Tbh I've never had this issue before, something simple must be off anyway. Hopefully lol

 

So to your first question, yes i can connect to "any" other server, other than my own when using ip address. if i local host i join fine, but if i use ip address it doesn't work (so the other guy in the house trying to join is unable to join because he "has" to use ip address.)

 

so lets assume i do not have ports forwarded properly. Server is on 192.168.1.80 and pc i want to play on is on 192.168.1.81 Do i have to open ports for the computer i want to play on on my router? Right now all I have forwarded is 26900,26902 on the server PC (in router). Do i also need to open something for each computer on the network i want to play from(in router)?

Link to comment
Share on other sites

This is the log when someone trys to join in the game from within the house.

 

2019-11-12T14:28:20 45.260 INF Calculating hashes took 2241 ms (world size 167 MiB)

2019-11-12T14:28:20 45.663 INF [steamworks.NET] GameServer.LogOn successful, SteamID=90130468837174277, public IP=myipadress

2019-11-12T14:28:40 65.573 INF [DECO] written 520/477

2019-11-12T14:29:55 140.922 INF NET: LiteNetLib: Connect from: 192.168.1.1:62347

2019-11-12T14:29:55 140.931 INF Started thread NCS_Reader_0_0

2019-11-12T14:29:55 140.932 INF Started thread NCS_Writer_0_0

2019-11-12T14:29:55 140.936 INF Started thread NCS_Reader_0_1

2019-11-12T14:29:55 140.937 INF Started thread NCS_Writer_0_1

2019-11-12T14:29:55 140.938 INF [NET] PlayerConnected EntityID=-1, PlayerID='', OwnerID='', PlayerName=''

2019-11-12T14:29:55 140.939 INF NPCID.Write

2019-11-12T14:30:01 146.248 INF NET: LiteNetLib: Client disconnect from: 192.168.1.1:62347 (Timeout)

2019-11-12T14:30:01 146.249 INF [NET] PlayerDisconnected EntityID=-1, PlayerID='', OwnerID='', PlayerName=''

2019-11-12T14:30:01 146.250 INF Player disconnected: EntityID=-1, PlayerID='', OwnerID='', PlayerName=''

2019-11-12T14:30:01 146.250 INF [EAC] FreeUser: EntityID=-1, PlayerID='', OwnerID='', PlayerName=''

2019-11-12T14:30:01 146.250 INF Exited thread NCS_Reader_0_0

2019-11-12T14:30:01 146.251 INF Exited thread NCS_Reader_0_1

2019-11-12T14:30:01 146.251 INF Exited thread NCS_Writer_0_0

2019-11-12T14:30:01 146.251 INF Exited thread NCS_Writer_0_1

Link to comment
Share on other sites

Try not using EAC (on server host AND client).

 

Port forwarding opens a direct tunnel through the port to specified IP addresses, the port opening on client side is through your firewall.

 

I noticed you said " Server is on 192.168.1.80", are you typing that? If so, you're trying to LAN it. That's really not an IP address, that's the local address for the internal network, gotta use the actual IP. And the port you're connecting to (the port the server is on) is 62347, if you have a range setup thatll be fine, but if not make sure that one is included, and add it for all clients or give the network address on 2 seperate instances (some routers let you say open this tcp/udp port for all clients and some make you do them individually).

 

Also 192.168.1.1 sounds like your host address or the first available address given by your router, you sure the server is actually at 192.168.1.80 and you're connecting from 192.168.1.81?

 

Btw, you can also just add your friend to your Steam friend list, and they can join from there. Steam will take care of the addressing for you.

Link to comment
Share on other sites

Try disabling LiteNetLib in the serverconfig.xml (on the server)

 

If all the clients, and the server are in the 192.168.1.x subnet, then you don't need to put any

port forwarding in your router. If you want players to connect from outside your home, then

you need the port forwading in your Router.

 

Try excluding the game folder from your Antivirus on each of the machines as well.

 

Also, to clarify what Juggernator said, the 192.168.1.x range is a private IP range, vs, your router

which would have a public IP. Both are IP addresses.

Link to comment
Share on other sites

^ Lol I was a bit haste (was late) and was struggling to figure out a layman's explanation. Yeah I suggested port forwarding because I wasn't entirely sure how he was connecting, but 'tis true there. I really think it's either not using the correct LAN address / port or antivirus / firewalls are preventing a clean connection.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...