jonnerz Posted January 29, 2017 Share Posted January 29, 2017 I am attempting to run the server on custom ports (defaults +5). According to the server log, all the ports have been changed apart from the game port. It does have the correct port in the server.ini and at the start of the server logs, but further down the log it switches back to the default game port. "C:\Users\avorion\bin\AvorionServer.exe" --datapath "C:\Users\avorion\galaxies" --galaxy-name galaxy1 --admin 0 --max-players 20 --port 28005 --query-port 27008 --steam-query-port 27025 --steam-master-port 27026 --use-steam-networking 1 Sun Jan 29 13:50:04 2017| Enabled Traces: Sun Jan 29 13:50:04 2017| Avorion server Beta 0.10.2 r7361 running on Windows 8.1+ starting up in "C:\Users\avorion\galaxies\galaxy1" Sun Jan 29 13:50:04 2017| CPU: GenuineIntel 8 Cores Sun Jan 29 13:50:04 2017| name: Avorion Server Sun Jan 29 13:50:04 2017| seed: M7ONb4EPjo Sun Jan 29 13:50:04 2017| port: 28005 Sun Jan 29 13:50:04 2017| max online players: 20 Sun Jan 29 13:50:04 2017| save interval: 600 Sun Jan 29 13:50:04 2017| broadcast interval: 5 Sun Jan 29 13:50:04 2017| max loaded sector time: 300 Sun Jan 29 13:50:04 2017| weak update: yes Sun Jan 29 13:50:04 2017| worker threads: 1 Sun Jan 29 13:50:04 2017| difficulty: Veteran Sun Jan 29 13:50:04 2017| infiniteResources: no Sun Jan 29 13:50:04 2017| collision: 1 Sun Jan 29 13:50:04 2017| access list: Blacklist Sun Jan 29 13:50:04 2017| public: yes Sun Jan 29 13:50:04 2017| authentication: yes Sun Jan 29 13:50:04 2017| listed: yes Sun Jan 29 13:50:04 2017| steam networking & authentication: yes Sun Jan 29 13:50:04 2017| administrators: 'admin' Sun Jan 29 13:50:04 2017| Warning: Command status has not been assigned to a user group. Sun Jan 29 13:50:04 2017| Starting up 1 worker threads. Sun Jan 29 13:50:04 2017| no file "C:\Users\avorion\galaxies\galaxy1\jumps.dat" found Sun Jan 29 13:50:05 2017| Game Port: 27000 Sun Jan 29 13:50:05 2017| Steam Port: 27026 Sun Jan 29 13:50:05 2017| Steam Query Port: 27025 Sun Jan 29 13:50:05 2017| Polling Port: 27008 Sun Jan 29 13:50:05 2017| Sun Jan 29 13:50:05 2017| Server UDP: Error receiving from 127.0.0.1, error: An existing connection was forcibly closed by the remote host, received bytes: 0 Sun Jan 29 13:50:06 2017| Server connected to Steam successfully Sun Jan 29 13:50:06 2017| Server is VAC Secure! Sun Jan 29 13:50:06 2017| Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted January 29, 2017 Boxelware Team Share Posted January 29, 2017 Thank you, will be fixed soon. Don't change the polling port until the server browser is out or your servers will be unreachable. Link to comment Share on other sites More sharing options...
plokiuh Posted February 1, 2017 Share Posted February 1, 2017 I am also having this same exact problem. At least I think I am... :-\ :o :-\ clientlog_Wed_Feb_01_09-31-20_2017.txt serverlog_Wed_Feb_01_09-31-29_2017.txt Link to comment Share on other sites More sharing options...
era5or Posted February 8, 2017 Share Posted February 8, 2017 Also having same issues as above, quite frustrating, as I have multiple servers running for different games, so I need a custom port solution asap... Log file included... seems too work fine via my VPN though, most likely cause the VPN client/server is routing the ports automaticly serverlog_Wed_Feb_01_09-31-29_2017.txt Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 With the dedicated server on the beta branch you can bind to ips. Custom ports will be easier once the server browsers are in and no more custom polling is required. Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 Could you explain a little more on this as I dont see how binding to IPS will help custom ports issues, surely all that will do is bind the server.exe too a dedicated IP, which on a multihost system would be a local internal IP.. which would then have the same issues of firewalls/portforwarding etc of custom ports? either way. when will the beta version be going live so I can see if this bind to ips will actualy help or not :P With the dedicated server on the beta branch you can bind to ips. Custom ports will be easier once the server browsers are in and no more custom polling is required. Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 I just set it live. Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 0.10.2 r7448 ? as my dedi is still trying too use 27000 according too logs Sat Feb 11 09:16:44 2017| Enabled Traces: network Sat Feb 11 09:16:44 2017| Avorion server Beta 0.10.2 r7448 running on Windows 7 starting up in "C:\Users\eRa5oR\AppData\Roaming\Avorion\galaxies\dedi" Sat Feb 11 09:16:44 2017| CPU: GenuineIntel 1 Cores Sat Feb 11 09:16:44 2017| name: Avorion Server Sat Feb 11 09:16:44 2017| seed: 0KJcYI6zqm Sat Feb 11 09:16:44 2017| port: 31000 Sat Feb 11 09:16:44 2017| max online players: 10 Sat Feb 11 09:16:44 2017| save interval: 600 Sat Feb 11 09:16:44 2017| broadcast interval: 5 Sat Feb 11 09:16:44 2017| max loaded sector time: 300 Sat Feb 11 09:16:44 2017| weak update: yes Sat Feb 11 09:16:44 2017| worker threads: 1 Sat Feb 11 09:16:44 2017| difficulty: Veteran Sat Feb 11 09:16:44 2017| infiniteResources: no Sat Feb 11 09:16:44 2017| collision: 1 Sat Feb 11 09:16:44 2017| access list: Blacklist Sat Feb 11 09:16:44 2017| public: yes Sat Feb 11 09:16:44 2017| authentication: yes Sat Feb 11 09:16:44 2017| listed: yes Sat Feb 11 09:16:44 2017| steam networking: yes Sat Feb 11 09:16:44 2017| administrators: Sat Feb 11 09:16:44 2017| Warning: Your server does not have an administrator assigned. Sat Feb 11 09:16:44 2017| Starting up 1 worker threads.... ok Sat Feb 11 09:16:44 2017| Loading jumping entities...no file "C:\Users\eRa5oR\AppData\Roaming\Avorion\galaxies\dedi\jumps.dat" found Sat Feb 11 09:16:44 2017| ok Sat Feb 11 09:16:45 2017| Server UDP: Starting up at port 27003. Sat Feb 11 09:16:45 2017| Server UDP: Starting up receiving. Sat Feb 11 09:16:45 2017| Server UDP: Resolving localhost, port: 12345 Sat Feb 11 09:16:45 2017| Server UDP: Send packet to 127.0.0.1, port: 12345, size: 1024 Sat Feb 11 09:16:45 2017| Server UDP: Some packet received from 127.0.0.1, size: 0 Sat Feb 11 09:16:45 2017| Server UDP: Error receiving from 127.0.0.1, error: An existing connection was forcibly closed by the remote host, received bytes: 0 Sat Feb 11 09:16:45 2017| Game Port: 27000 Sat Feb 11 09:16:45 2017| Steam Port: 27021 Sat Feb 11 09:16:45 2017| Steam Query Port: 27020 Sat Feb 11 09:16:45 2017| Polling Port: 27003 Sat Feb 11 09:16:45 2017| Sat Feb 11 09:16:46 2017| Server connected to Steam successfully Sat Feb 11 09:16:46 2017| Server is VAC Secure! Sat Feb 11 09:16:46 2017| Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 This is fixed on the beta branch. use -beta beta when running steamcmd update. Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 so too make sure im getting the correct version here... this should be my install script ? Using Naggerknife's Server Installer -btw @ShutdownOnFailedCommand 1 @NoPromptForPassword 1 login anonymous force_install_dir "C:\Program Files (x86)\Steam\steamapps\common\Avorion" app_update 565060 -beta quit Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 Ok endedup using steam too download the beta, via my steam client login etc, which has installed fine. Still has issues connecting though from external sources.. Ive run CurrPorts which shows the following AvorionServer.exe tcp 31000 too local address 0.0.0.0 AvorionServer.exe udp 27003 too local address 0.0.0.0 AvorionServer.exe udp 31000 too local address 0.0.0.0 Logs shows Sat Feb 11 10:42:25 2017| Enabled Traces: Sat Feb 11 10:42:25 2017| Avorion server Beta 0.10.2 r7493 running on Windows 7 starting up in "C:\Users\eRa5oR\AppData\Roaming\Avorion\galaxies\dedi" Sat Feb 11 10:42:25 2017| CPU: GenuineIntel 1 Cores Sat Feb 11 10:42:25 2017| name: Avorion Server Sat Feb 11 10:42:25 2017| seed: doPHNEVuuG Sat Feb 11 10:42:25 2017| port: 31000 Sat Feb 11 10:42:25 2017| max online players: 10 Sat Feb 11 10:42:25 2017| save interval: 600 Sat Feb 11 10:42:25 2017| broadcast interval: 5 Sat Feb 11 10:42:25 2017| max loaded sector time: 300 Sat Feb 11 10:42:25 2017| weak update: yes Sat Feb 11 10:42:25 2017| worker threads: 4 Sat Feb 11 10:42:25 2017| generator threads: 2 Sat Feb 11 10:42:25 2017| difficulty: Veteran Sat Feb 11 10:42:25 2017| infiniteResources: no Sat Feb 11 10:42:25 2017| collision: 1 Sat Feb 11 10:42:25 2017| access list: Blacklist Sat Feb 11 10:42:25 2017| public: yes Sat Feb 11 10:42:25 2017| authentication: yes Sat Feb 11 10:42:25 2017| listed: yes Sat Feb 11 10:42:25 2017| steam networking: yes Sat Feb 11 10:42:25 2017| administrators: 'ra5or' Sat Feb 11 10:42:25 2017| Starting up 4 worker threads... Sat Feb 11 10:42:25 2017| Loading jumping entities... Sat Feb 11 10:42:25 2017| Galaxy initialized. Sat Feb 11 10:42:25 2017| SteamGameServer_Init call failed Sat Feb 11 10:42:25 2017| Error starting steam-based networking. Defaulting to standard TCP/UDP protocols. Sat Feb 11 10:42:25 2017| Further steam-related error messages can be safely ignored. Sat Feb 11 10:42:25 2017| Server UDP: Error receiving from 127.0.0.1, error: An existing connection was forcibly closed by the remote host, received bytes: 0 Sat Feb 11 10:42:25 2017| Server UDP: Error receiving from 127.0.0.1, error: An existing connection was forcibly closed by the remote host, received bytes: 0 Sat Feb 11 10:42:25 2017| Everything looks and seems fine but still unable too establish a connection without using my VPN network :( Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 It's not fine, the server can't init the steam framework. How did you run the server? Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 I ran the steam client, loged in with my login/pass, selected your game, then opt into beta etc. It downloaded latest etc. then launched server using defaults, then closed the server down, changed the port and re-run the server. and boom thats what I got above. Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 Can you give it a try with the server launcher ingame? You can add command line options there, too, if you need any. Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 OpenGl error, probably due to it being windows 7 box on a remote machine that has no gfx output card :P Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 @ShutdownOnFailedCommand 1 @NoPromptForPassword 1 login anonymous force_install_dir "C:\Program Files (x86)\Steam\steamapps\common\Avorion" app_update 565060 -beta beta validate quit seems to get the normal version not beta, so I cant get it via that command unless u have a differnt App ID number for the beta client I can use Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 When trying too load server via steamcmd app_update 565060 -beta beta just gives me the non beta version for some reason? different app id for beta maybe? Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 Nope no different appid, it's live and working here. Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 Ok just done complete reinstall of both options for running the server... Option 1) Steam Client Install via steam its self and downloading Beta version. Option 2) Steam CMD Install via steam command using appdata beta beta validation command. Both seem too download and install fine, however there are a lot of files in different places for one... and both come out with different results when trying too run the server! I have attached both output files... Steam_CMD_Install_Sat_Feb_11_12-37-41_2017.txt Steam_Client_Install_Sat_Feb_11_12-35-37_2017.txt Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 Quite funny looking at the logs, cause now it would seem that the forced port fails too keep the port, but authenticates too steam fine, where as the standard port fails all together lmao Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 If you want to run the steam client version of the server, you need a running steam client. If you can't have a running steam client because all you've got is the command line, then use the server tool. By the way: Judging from the logs: Server tool (via steamcmd) is working. You can only bind to IPs when steam networking is enabled. Don't change port 27003. Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 What ports do you have configured in your server.ini? Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 steam install was left at default settings steam cmd was set to 31000 as per my firewall routing etc and I had steam open and running minimzed during the 2 tests Link to comment Share on other sites More sharing options...
era5or Posted February 11, 2017 Share Posted February 11, 2017 ok just done another test, results quite intresting... installed and run steamcmd version on local machine at home - setup using launcher gui you provided.. all worked just fine, ports and logs showed it using 31000 and steam loged on just fine.. zipped up and coppied the entire install and the roaming galxy files too my remote box.. unpacked fine etc... ran the server with exactly the same setup/configs that were created on local PC runs fine with 1 big exception! the game port RESET too 27000 I repeat this is identical install and build of ini files, as i have simply copied the entire 2 folders onto remote PC.. What could be causing the reset ? Home_Log_Sat_Feb_11_20-54-18_2017.txt Remote_Log_Sat_Feb_11_13-01-06_2017.txt Link to comment Share on other sites More sharing options...
Boxelware Team koonschi Posted February 11, 2017 Boxelware Team Share Posted February 11, 2017 Set all ports explicitly when starting up the server. That might be the issue. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now