Jump to content
  • 0

No 'public server' button.


Gman

Question

I have been at this for quite some time. I have tried the following:

-Unblocking ports 80, 16000-17000 in my firewall.

-Allowing the game access to the internet through the firewall.

-Turning off the firewall.

 

None of them solved the issue. I am not forwarding any ports on the router for security but in the end it seems that is the issue.

Will this be resolved when Steam Multiplayer is integrated?

 

 

Link to comment
Share on other sites

16 answers to this question

Recommended Posts

I have McAfee. It's literally that simple.

 

Here's the error. http://i.imgur.com/NvvgqmK.png

Ignore the localhost. That's just a LAN server I run with my friend.

Nope, you'll likely still have to disable real-time protecion. http://www.wikihow.com/Disable-McAfee#/Image:Disable-McAfee-Step-3-Version-3.jpg

Are you trying to connect to your friend's server through the public list? Because, that's what it looks like from the error message. As far as I know, the server list uses port 80, not 16262. I'll check.

 

Either way, this still indicates ProjectZomboid's connection isn't making it past your computer, for some reason.

Link to comment
Share on other sites

You have 16000 - 17000 as both UDP and TCP correct?

If you're hosting this server on your computer, use the word localhost in place of a IP to connect.

 

 

Interestingly, here's the same error but with Eclipse's debugger: https://www.eclipse.org/forums/index.php/t/591296/ It's fixed by removing the antivirus (AVG and Commodo), unfortunately. Other links were less clear . . .

Link to comment
Share on other sites

He's mentioning localhost because localhost bypasses firewall rules on windows (barring weird 3rd party firewall/internet security applications) and so if it works with localhost (assuming you're hosting the server on the same machine) then it's diagnostically useful.

 

It looks to me like TCP is being blocked outbound for the game client (while UDP is being allowed outbound.)

Which is strange because default rules for the windows firewall is to allow pretty much everything outbound.

 

Port fowarding should be irrelevant to the game client. The error you're seeing means the game client effectively needs the same permissions as your web browser.

Link to comment
Share on other sites

Haven't had to break this out in a few years, but as BryBry mentions, something is strange here: https://support.microsoft.com/en-us/kb/972034

 

You'll likely have to restart your computer after making this change. It's possible McAfee will prevent this change from taking effect, so please verify that Hosts doesn't have any entries after the restart.

Link to comment
Share on other sites

The %USERPROFILE%/Zomboid/console.txt / full console output for the client log uploaded to pastebin.com would be very useful.

For example, if it's a firewall permission issue you'll probably see something like:

-----SVN REVISION 964versionNumber=Early Access v. 32.3 demo=falseconnecting to public server listjava.net.SocketException: Permission denied: connect        at java.net.DualStackPlainSocketImpl.waitForConnect(Native Method)        at java.net.DualStackPlainSocketImpl.socketConnect(DualStackPlainSocketImpl.java:85)        at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:339)        at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:200)        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:182)        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)        at java.net.Socket.connect(Socket.java:579)        at sun.net.NetworkClient.doConnect(NetworkClient.java:175)        at sun.net.www.http.HttpClient.openServer(HttpClient.java:378)        at sun.net.www.http.HttpClient.openServer(HttpClient.java:473)        at sun.net.www.http.HttpClient.<init>(HttpClient.java:203)        at sun.net.www.http.HttpClient.New(HttpClient.java:290)        at sun.net.www.http.HttpClient.New(HttpClient.java:306)        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:995)        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:931)        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:849)        at zombie.util.PublicServerUtil.init(PublicServerUtil.java:44) 

when starting the client/game. But if it's a DNS issue you'll see a different DNS related error, etc.

Link to comment
Share on other sites

I think it is the NAT on my router. I'll see if putting a DMZ on my laptop will work. If not I will try your suggestions.

Thank you all for the help so far.

 

Created a DMZ for my laptop, did no good. Trying the Fix It Felix now.

Microsoft Fix It didn't work.

 

This is what I get...

http://i.imgur.com/EdkgFrM.png

Notice how it says it's an invalid argument to connect? I wonder if that's the DNS issue you were talking about.

 

I fixed it!

I added this to the Set Launch Options: -J-Djava.net.preferIPv4Stack=True

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...