Xonotic Forums
[NEED HELP] Server failed to open socket on address... - Printable Version

+- Xonotic Forums (https://forums.xonotic.org)
+-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3)
+--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16)
+--- Thread: [NEED HELP] Server failed to open socket on address... (/showthread.php?tid=8460)



Server failed to open socket on address... - Hexactinal - 11-20-2020

Hello! I just started playing Xonotic and wanted to create a server to play with friends. I'm on Linux Mint 20 Cinnamon, and when I tried to start the server using the command: ./server_linux.sh -sessionid 1, it errored out with the message: Server failed to open socket on address [my IP]:26000 (this went through to [my IP]: 26100 before the final error message). I'm pretty sure that my router has port-forwarding set up for Xonotic...the default Xonotic port of 26000 is open already. Does anyone know what might be the issue here? I could try to change the port if necessary, but how would I do that?


RE: Server failed to open socket on address... - Kotangens - 11-21-2020

https://forums.xonotic.org/showthread.php?tid=5342
https://forums.xonotic.org/showthread.php?tid=7474
https://github.com/xonotic/xonotic/wiki/basic-server-configuration
https://xonotic.fandom.com/wiki/Game_Server_Configuration
You need to create server.cfg file in .xonotic/data

See in links above how to setup
Example: https://pingperfect.com/index.php/knowledgebase/442/Xonotic--Server-Configuration.html


RE: Server failed to open socket on address... - Hexactinal - 11-21-2020

(11-21-2020, 10:23 AM)Kotangens Wrote: https://forums.xonotic.org/showthread.php?tid=5342
https://forums.xonotic.org/showthread.php?tid=7474
https://github.com/xonotic/xonotic/wiki/basic-server-configuration
https://xonotic.fandom.com/wiki/Game_Server_Configuration
You need to create server.cfg file in .xonotic/data
Thanks for the last post, Kotangens.

I moved server.cfg to /Xonotic/data and it allows me to connect when typing in localhost in the server browser. However, something is still messed up with my ports. When I try to connect using the command: connect [my ip]:26000, it does not work. Also, when checking to see if the port is open using canyouseeme.org, it says "connection refused." Any tips on fixing my ports?