• Welcome to AtomicTorch Studio Forums.
 

Dedicated Server Inaccessible.

Started by kotoroshinoto, May 14, 2015, 04:28:13 PM

kotoroshinoto

port is fully opened (both TCP/UDP). Server registers itself with public listing if the config tells it to go public, but the game first marks it as incompatible during the refresh, and then as not accessible.

same server can be seen just fine on localhost, its remote machines that have the problem.

I tried changing server ports to the minecraft port in the unexpected chance that the port might be blocked. I have used this port before. There is no reason whatsoever for it to not be working.

windows firewall is completely turned off, so it is not responsible.

Do you have any ideas on what I should do?

kotoroshinoto

just to add, this showed up immediately after the world load/create/save process:

14.5.15 19:22:13.9640 [IMP] Saving...
14.5.15 19:22:15.6770 [IMP] Saving: world snapshot ready. Writing it on the disk
...
14.5.15 19:22:15.6800 [IMP] Server FPS set to 60
Ship params update fps is 10, so it called every 6 frame(s)
Network physics updates to clients fps is 20, so it called every 3 frame(s)
14.5.15 19:22:16.6741 [IMP] World successfully saved to slot_0 (path "G:\SteamLibrary\steamapps\common\VoidExpanse\Server_dotNET\Saves_Multiplayer\slot_0")
14.5.15 19:22:16.8061 [IMP] MasterServerClient: MasterserverClient ready to work

14.5.15 19:22:16.8071 [IMP] Registering as a Public Server on the Master Server
14.5.15 19:22:16.8081 [IMP] SocketServerUDP: UPnP is unavailable for port forwarding
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 224
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 267
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 267
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 276
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 276
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 331
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 331
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 341
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 341
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 389
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 210
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 389
14.5.15 19:22:31.3069 [IMP] SocketServerUDP: Socket message: Malformed packet; stated payload length 1514, remaining bytes 390
14.5.15 19:22:46.5758 [IMP] Server performance stats:
frame_length_ms=17.06
frame_length_worse_ms=23.51
network_processing_ms=0.01
network_rate_receive=0
pathfinder=0
total_memory_gc_mb=150.94
total_memory_process_mb=189.8
total_ms=0.04

iamweiss

I am having the same issue.  Anyone have any thoughts?  Fixes?

ai_enabled

Hello!
Sorry for the late reply. The game using UDP and requires opened port on the firewall and forwarded port on the router. Please be sure you have done this. The game server can automatically do the port forwarding, but it required enabled UPnP on the router.
By the way, Minecraft is using TCP, not UDP. So if it works it means only that TCP connection is not blocked and forwarded correctly by the router.

Quotebut the game first marks it as incompatible during the refresh
Thanks for reporting this also, will be fixed in the next version.

Regards!

kordenox

can you please specify the ports need for manual setting???
the cake is a lie.

ai_enabled

kordenox, the game need firewall whitelisting to access atomictorch.com port 4003 (UDP) for the Master Server connection.
And if you host your own Game Server it uses port 5000 (UDP) by default, but you could set any port in the SettingsServer.xml
Regards!

frizzank

I am also having trouble starting a dedicated server.

I can connect to it through the lan connection and I can see it in the global server list but, no info is available for it and I can not connect to it?

Port 5000 is forwarded correctly in my router and I disabled the firewall on my computer and the router just to make sure they are not blocking it.

I also tried making a bat file and running it with the --dedicated command, here is my server settings and my log file.

http://www.mediafire.com/download/zb549534wc9t4ox/Server_VoidExpanse_2015-09-06_20-02.log (http://www.mediafire.com/download/zb549534wc9t4ox/Server_VoidExpanse_2015-09-06_20-02.log)
http://www.mediafire.com/view/o7xxcfxxb24pd0s/SettingsServer.xml (http://www.mediafire.com/view/o7xxcfxxb24pd0s/SettingsServer.xml)


Any help is appreciate...
Also I had to create my own settings file as it was not auto-generated.

frizzank

So things are a bit weird, I can host a dedicated server and others from outside my network can see the game in the main list and join it just fine, but I cant join it from the main public server list.  I can join the lan version by inputting the IP address, but connecting to it from the outside IP address is impossible?

p0ki

Quote from: frizzank on September 07, 2015, 10:10:27 PM
...cant join it from the main public server list.
...can join the lan version by inputting the IP address
Are you sure about your firewall? It seems that connecting to Internet IP's is disallowed.
Can you join other servers on the internet?

/edit: Can someone split the last 3 posts to an own thread, since these are different problems?

frizzank

Well I thought it was the same problem but I guess not. 

Yes I can connect to other servers just fine.

Yes I am 100% sure all firewalls are disabled. Host, Client and router. 

I did turn them back on as it didn't make a difference. Also I do not have issues hosting other dedicated servers, Space Engineers, Minecraft, Ect....

ai_enabled

Quote from: frizzank on September 07, 2015, 10:10:27 PM
So things are a bit weird, I can host a dedicated server and others from outside my network can see the game in the main list and join it just fine, but I cant join it from the main public server list.  I can join the lan version by inputting the IP address, but connecting to it from the outside IP address is impossible?
That's a known issue for some ISP/routers. It happens for us also. Unfortunately we cannot do anything with it...

cjmoto7

#11
QuoteI did turn them back on as it didn't make a difference. Also I do not have issues hosting other dedicated servers, Space Engineers, Minecraft, Ect....

I'm in the same boat, I even tried accessing it from outside my network (Tethered my phones internet to another pc and connected to my server) and it worked fine, I could see the details of the server in the master list and connect and play on it.

Everything seems like it should be working, but I checked the port (5000) with a port checker and it said it was closed, when the server was running, and in the server console and in the log i've noticed quite a few times an "unknown name" tries to connect, and then shortly disconnects later, had plenty of those unknown names but not a single player has joined and stayed joined at all besides my self. (Server has been online for about 3-4 days)

And yes I did the same thing also, disabled windows firewall, antivirus, and the routers firewall, the server even says it configured UPnP successfully. I'm stumped.

kyokei

If the port checker says that port 5000 is closed then no player will be able to connect to the server.

What you see in the console of players joining and leaving is actually people in the server browser looking up server information.
So when you are in VE and you refresh the screen in Multiplayer then at every online server it shows this message.

What I would suggest you do is try to open a different port and check with the port checker if it's open. Once you find a port that is open then you can change port 5000 in the config file to whatever open port you want to use.

With some routers you actually have to play around with the port forwarding options, I know I had a lot of issues when doing it. In the end I put my server in the DMZ and use the servers firewall to control open/closed ports.

Hope this helps

cjmoto7

Quote from: kyokei on April 02, 2016, 01:53:58 AMIf the port checker says that port 5000 is closed then no player will be able to connect to the server.
Thats what i thought, It just got confusing when I was able to connect to it from outside my network (Used my phones 4g connection tethered to a different pc) it worked perfectly, but the port checker still says its closed.

Anyway yeah DMZ is probably the only thing i haven't tried yet, but if thats what gets it to work then thats what i'll have to do, dmz is currently occupied by my main server, but yeah thanks for that i'll give it a shot.

kyokei

Well bring the server up now as you normally do and I'll check if I can actually connect to it