Jump to content

Welcome to the Forum!

The best place to exchange builds and ideas! Vote for the best ideas and suggestions here.

Join the Avorion Discord!

Connect with other passionate players and talk about the latest news.
Discord

DLC Avorion Into the Rift Out Now!

Now available on Steam!
Steam

Server does not start on correct port


jonnerz
 Share

Recommended Posts

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

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

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

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

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

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

@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

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

  • Boxelware Team

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...