no connection with steam client to non-steam internet server
1 1

3 posts in this topic

Recommended Posts

Hi everyone!

We've been playing PZ previously a long time and also used the dedicated server on my machine (Win 7, batch-file as steam-variant).

Everything was working fine, friends were able to connect by ip-address, everything went very smooth.

 

A few weeks (or months?) later we are back at PZ and I wanted to make a server again, this time outside my own home (hosting server, Ubuntu).

But we weren't able to make a successful connection between any client and the server.

At first it was the firewall, of course.

Then there was a difficulty with the ip-address, because the server has 2 of them and there is no option to tell the game, which one to use (or at least I can't find any).

But now, all those problems are out of the way and still it's not possible to connect.

 

To be more precise:

The clients are getting the error, that's not possible to make a p2p-connection.

 

Looking on the server via netstat, I can see everyone trying to connect, and I also see the reason, why the server is unable to send a reply, but I can't get the source and solution for this.

As said when I'm looking via netstat for those incoming connections by the client, I can see that the client is sending the internal lan-ip instead of the public one.

Of course, the server, residing in the internet, is unable to reply to any internal ips and so the message pops up, that's not possible to make a p2p-connection.

When starting the client in the non-steam-variant (by using the parameter -nosteam), but letting the server be as before, it's not even getting this far and only telling "server does not respond".

 

Running both, server and client with "-nosteam" it works just fine!

But I guess it should also work without those launch parameters, also as the client is telling, that it should be possible to connecto to a non-steam server with a steam-client :)

 

As multiple users have the same problem and showing the same characteristics when trying to connect, we can tell that it's not a problem on the local lan site or everyones routersettings.

 

Any ideas how to fix this? :)

 

Share this post


Link to post
Share on other sites

Hm, if it works in no-steam mode, my first question would be if you have forwarded the Steam ports? You need those to host the dedicated server usually.
Here are some good guides to set up a server, the port forwarding is explained there as well:
 

Ports:  8766 and 16261
https://steamcommunity.com/sharedfiles/filedetails/?id=514493377

https://www.reddit.com/r/projectzomboid/comments/awo1bw/what_mods_do_you_use_on_your_multiplayer_server/ehy8cho/

 

Share this post


Link to post
Share on other sites

The server is connected directly to the internet, no routing or port-forwarding available.

Ports in firewall are opened.

 

In serverbrowser in the client I can see the server and the details (whitelist, ping, players, version).

when trying to connect, there is a connection on the server pointing to the local ip-address of the client

Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      1 178.63.xxx.xxx:44941    172.20.yyy.yyy:49882    SYN_SENT    17450/ProjectZomboi

When other clients try to connect, it's their local address showing up.

if server and client both work in no-steam-mode, it's correctly showing the public ip of the client and establishing a working connection.

 

Or is probably the root-cause of the problem, that the server is having 2 ip-addresses?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
1 1