[0.11.1] Listener Not Active When Hosting

Bugs that are actually features.
Post Reply
pyhfol
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Nov 03, 2014 10:04 am
Contact:

[0.11.1] Listener Not Active When Hosting

Post by pyhfol »

Evening,

Experiencing an issue with starting a multiplayer server as the port does not appear to be listening.

Originally I could not host, so my friend hosted instead. Now (after a restart) it seems that he is unable to host.

Running 'netstat -an |find /i "listening"' via command line, shows that neither default port (34197) or a custom assigned port appear to be listening.
2014-11-03 18_10_09-Factorio 0.11.1.png
2014-11-03 18_10_09-Factorio 0.11.1.png (147 KiB) Viewed 3538 times
This issue has occurred on:
Win8 - x64 - running 0.11.1 x64 & x86
Win7 - x64 - running 0.11.1 x64

edit: program has been reinstalled and system restarted multiple times

To double check, a port listener was run on both custom and default ports, Factorio 'started' MP without any binding errors. Use of the port check tool at ping.eu showed the ports as open until the port listener was stopped. Factorio was restarted and ping.eu used to check the port again, the port appeared as closed.
This sufficiently proves that my router settings are sound, and that the listener is not active within Factorio.

I doubt this would be related to a different service already running on my system.
Firewall is irrelevant as the system is not listening to begin with, however completely disabling the firewall was tried.

I have tried running the application 'as administrator' without success.
Running in compatibility mode also fails (XP, Vista, Win7)

Logfile says that it is hosting... but its not listening.

I have scoured the forums, the only mention I have found is: https://forums.factorio.com/forum/vie ... =40#p49805

Recent log file (States game is hosted):

Code: Select all

2809.841292 Info C:\Factorio\src\Util/Logger.cpp:141: 2014:11:03 18:29:39; Factorio 0.11.1
2809.989479 Info C:\Factorio\src\Data/ModManager.cpp:237: Loading mod core 0.0.0 (data.lua)
2810.055240 Info C:\Factorio\src\Data/ModManager.cpp:237: Loading mod base 0.11.1 (data.lua)
2810.974608 Info C:\Factorio\src\Data/ModManager.cpp:237: Loading mod base 0.11.1 (data-updates.lua)
2813.332745 Info C:\Factorio\src\Graphics/AtlasSystem.cpp:152: Initial atlas bitmap size is 16384
2813.335651 Info C:\Factorio\src\Graphics/AtlasSystem.cpp:93: Created atlas bitmap 16384x6816
2821.759786 Info C:\Factorio\src\Updater.cpp:712: Downloading https://www.factorio.com/updater/get-available-versions?username=pyhfol&token=<private>&apiVersion=2
2823.460902 Notice C:\Factorio\src\Updater.cpp:147: 0 packages available to download (experimental updates enabled).
2845.204605 Info C:\Factorio\src\Net/Router.cpp:348: Router state -> Disconnected
2845.204678 Info C:\Factorio\src\Net/WindowsUDPSocket.cpp:48: Opening socket at port (8088)
2845.204777 Info C:\Factorio\src\Net/Router.cpp:348: Router state -> Connected
2845.204885 Info C:\Factorio\src\Net/Synchronizer.cpp:61: NetworkTick(0) initialized Synchronizer local peer(0).
2845.205058 Notice C:\Factorio\src\Net/Router.cpp:75: Hosting game at port 8088, peerID 0, session magic 2468
2845.205099 Info C:\Factorio\src\Net/MultiplayerManager.cpp:323: MultiplayerManager changing state from(Disconnected) to(CreatingGame)
2845.205139 Notice C:\Factorio\src\Scenario/Scenario.cpp:110: Loading map C:/Users\Username\AppData\Roaming\Factorio\saves\_autosave2.zip
2845.348221 Info C:\Factorio\src\Scenario/Scenario.cpp:136: Map version 0.11.1-0
2845.792926 Info C:\Factorio\src\Net/MultiplayerManager.cpp:323: MultiplayerManager changing state from(CreatingGame) to(InGame)
2845.792973 Info C:\Factorio\src\Net/NetworkInputHandler.cpp:29: mapTick(1310401) networkTick(0) initialized NetworkInputHandler local peer(0).
2845.880320 Info C:\Factorio\src\Net/MultiplayerManager.cpp:659: Received peer info for pere(0) username(pyhfol).
2845.995336 Info C:\Factorio\src\GameActionHandler.cpp:1531: MapTick(1310409) processed PlayerJoinGame peerID(0) playerIndex(1) mode(connect)
2965.561151 Info C:\Factorio\src\Net/MultiplayerManager.cpp:62: NetworkTick(9314) disconnecting multiplayer connection.
2965.561207 Info C:\Factorio\src\Net/MultiplayerManager.cpp:323: MultiplayerManager changing state from(InGame) to(Disconnecting)
2966.117483 Info C:\Factorio\src\Net/MultiplayerManager.cpp:74: NetworkTick(9314) quitting multiplayer connection.
2966.117518 Info C:\Factorio\src\Net/MultiplayerManager.cpp:323: MultiplayerManager changing state from(Disconnecting) to(Disconnected)
2966.118180 Info C:\Factorio\src\Net/WindowsUDPSocket.cpp:95: Socket closed
2966.118202 Info C:\Factorio\src\Net/Router.cpp:348: Router state -> Disconnected
2966.325058 Info C:\Factorio\src\GlobalContext.cpp:457: Goodbye
Any ideas anyone?

Some search tags: multiplayer port listener mp

pyhfol
Burner Inserter
Burner Inserter
Posts: 7
Joined: Mon Nov 03, 2014 10:04 am
Contact:

Re: [0.11.1] Listener Not Active When Hosting

Post by pyhfol »

Managed to get a game going, however port still doesnt appear in any diagnostics.
Port checker also comes up as closed.

Only change that was made was the installation of Tunngle (which failed to help) and the subsequent uninstall, perhaps linked to network adapters?

Will keep open and post updates.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.1] Listener Not Active When Hosting

Post by kovarex »

Is this still happening in 0.11.5 (or 0.11.6?)

User avatar
cube
Former Staff
Former Staff
Posts: 1111
Joined: Tue Mar 05, 2013 8:14 pm
Contact:

Re: [0.11.1] Listener Not Active When Hosting

Post by cube »

I don't know windows netstat, but it seems to show only TCP ports. Factorio uses UDP.

kovarex
Factorio Staff
Factorio Staff
Posts: 8078
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.11.1] Listener Not Active When Hosting

Post by kovarex »

I tried the command, and the problem is, that the UDP prots are specified differenetly, just type

Code: Select all

netstat -a -p UDP
You will see the 34197 port used there.

Post Reply

Return to “Not a bug”