Gman Posted June 1, 2015 Share Posted June 1, 2015 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 More sharing options...
Gman Posted June 2, 2015 Author Share Posted June 2, 2015 Yeah I am sure. There isn't really any other off switch. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted June 2, 2015 Share Posted June 2, 2015 Hitting an off switch is usually not enough for suites such as AVG, Avast, and Norton. :/ Link to comment Share on other sites More sharing options...
Gman Posted June 2, 2015 Author Share Posted June 2, 2015 I have McAfee. It's literally that simple. Here's the error. http://i.imgur.com/NvvgqmK.pngIgnore the localhost. That's just a LAN server I run with my friend. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted June 2, 2015 Share Posted June 2, 2015 I have McAfee. It's literally that simple. Here's the error. http://i.imgur.com/NvvgqmK.pngIgnore 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.jpgAre 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 More sharing options...
Brybry Posted June 2, 2015 Share Posted June 2, 2015 Yeah, the public server list uses port 80. 16262 would be TCP for map data downloading from a game server. The actual error from the console/terminal (or %USERPROFILE%/Zomboid/console.txt) might be helpful. Link to comment Share on other sites More sharing options...
Gman Posted June 2, 2015 Author Share Posted June 2, 2015 Here is the error I get when joining a server. (Server report) http://i.imgur.com/nWa4Wxi.png This is the clientside error you mentioned, Brybry. http://i.imgur.com/a60WBQZ.pngMy java version is 8.45, 64bit. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted June 2, 2015 Share Posted June 2, 2015 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 More sharing options...
Gman Posted June 2, 2015 Author Share Posted June 2, 2015 Both UDP and TCP. Turned real-time scanning off with the firewall and still no fix. Link to comment Share on other sites More sharing options...
EnigmaGrey Posted June 2, 2015 Share Posted June 2, 2015 I'd recommend uninstalling McAfee as the next step, unfortunately. Did you try supplementing your ip for localhost, assuming you're running the server from the same computer as you're trying to play on? Link to comment Share on other sites More sharing options...
Gman Posted June 2, 2015 Author Share Posted June 2, 2015 I said to ignore the 'localhost'. This has been happening before mcafee was on my pc. Link to comment Share on other sites More sharing options...
Brybry Posted June 2, 2015 Share Posted June 2, 2015 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 More sharing options...
EnigmaGrey Posted June 2, 2015 Share Posted June 2, 2015 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 More sharing options...
Brybry Posted June 2, 2015 Share Posted June 2, 2015 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 More sharing options...
Gman Posted June 2, 2015 Author Share Posted June 2, 2015 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.pngNotice 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 More sharing options...
EnigmaGrey Posted June 1, 2015 Share Posted June 1, 2015 Did you disable your antivirus entirely? Be sure to turn of any real-time protection features, otherwise they tend to just pretend to be disabled. Link to comment Share on other sites More sharing options...
Brybry Posted June 2, 2015 Share Posted June 2, 2015 *Edit:glad you fixed it Link to comment Share on other sites More sharing options...
Question
Gman
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
Archived
This topic is now archived and is closed to further replies.