PDA

View Full Version : Unable to connect to my server (connection test and internet players)



mlbrown
May 23rd, 2018, 21:52
I have a strange issue that I suspect is Windows 10 related.

Set Port Forwarding for 1802 to 192.168.10.164
FG on Mac, connection test works

Set Port Forwarding for 1802 to 192.168.10.165
FG on PC, connection test fails. I can connect to it (using the local IP. or the server alias)
from another PC running the Demo version on the same network.

If I use a hotspot for the second PC (so it is outside my internal network), the connection fails.

This is happening regardless of the windows firewall settings (including off).

Does anyone have any ideas?

Andraax
May 23rd, 2018, 22:12
Make sure the network is set to private.

Trenloe
May 23rd, 2018, 22:20
Sometimes routers need to be restarted to take changes.

Also, when you have FG running waiting for a player to connect, type netstat -a > netstat.txt this will take a while and dump the connection info to netstat.txt, to read type notepad netstat.txt

Do a search for :1802 - to see if Windows is actually listening for connections on port 1802. If it's not, then there is something blocking that port locally.

mlbrown
May 24th, 2018, 00:09
Network is private and port shows up in netstat -a

Trenloe
May 24th, 2018, 01:45
Network is private and port shows up in netstat -a
Sounds like a routing issue then - i.e. from the Internet through your router's port forwarding to your PC.

You have only one port forwarding rule for TCP 1802 setup, right? If so, reboot your router and check if you can get it working.

With FG up and running listening on port 1802, use https://canyouseeme.org/ to check for port 1802 being open.

Also, try connecting using the alias. Look at the console.log file of the computer connecting with the alias - make sure the IP address the alias maps to is the same as the "Your IP" indicated on the canyouseeme.org website.

mlbrown
May 24th, 2018, 03:27
No joy. If I change the IP in the router to my Mac, it works. Change the IP back to the Windows 10 system, it fails (but connections inside my network work). It has to be something on the PC, but I have the firewall on the PC disabled.

Any idea what else could be blocking an internet connection to the PC?

LordEntrails
May 24th, 2018, 04:09
Anti-virus?

mlbrown
May 24th, 2018, 04:34
Fixed it, had to go in with regedit and disable the Windows Defender Firewall service (For others researching a similar issue: DO NOT DO THIS UNLESS YOU HAVE ANOTHER FIREWALL).

Something is totally messed up with it on this system apparently which is why in spite of rules allowing Fantasy Grounds and disabling both firewalls, it still was blocking incoming ports. This is apparently a known "feature" for some systems with Windows 10 Pro.

Thanks for all the help.

LordEntrails
May 24th, 2018, 05:48
Hey, thanks for letting us know the solution. Glad you got it working.