Closed movabo closed 6 years ago
I think you are mistaken the port of flex with the gameserver port. Just leave the port away when connecting. but I agree having something like "port" in the config, without any further details WHICH port it is is confusing.
@movabo You have to start the server via Inexor flex web interface before you can connect to it:
Open any browser and look for localhost:31416
To start a server in Inexor flex, go to "instances" and click "start":
Then click "connect":
Without the same error appears:
# /connect localhost
Feb 20 21:55:01 core.client.31417[10452] INFO: attempting to connect to localhost:31415
Feb 20 21:55:03 core.client.31417[10452] INFO: attempting to connect...
Feb 20 21:55:06 core.client.31417[10452] INFO: attempting to connect...
Feb 20 21:55:09 core.client.31417[10452] INFO: attempting to connect...
Feb 20 21:55:12 core.client.31417[10452] INFO: attempting to connect...
Feb 20 21:55:12 core.client.31417[10452] ERROR: could not connect to server
# /connect 127.0.0.1
Feb 20 21:55:18 core.client.31417[10452] INFO: attempting to connect to 127.0.0.1:31415
Feb 20 21:55:18 core.client.31417[10452] INFO: attempting to connect...
Feb 20 21:55:22 core.client.31417[10452] INFO: attempting to connect...
Feb 20 21:55:24 core.client.31417[10452] INFO: attempting to connect...
Feb 20 21:55:56 core.client.31417[10452] INFO: attempting to connect...
Feb 20 21:55:56 core.client.31417[10452] ERROR: could not connect to server
@IAmNotHanni That's exactly the procedure i followed all the times.
Try /map cartel
.
Feb 20 22:17:46 core.client.31417[8872] INFO: attempting to connect over LAN
Feb 20 22:17:49 core.client.31417[8872] INFO: attempting to connect...
Feb 20 22:17:52 core.client.31417[8872] INFO: attempting to connect...
Feb 20 22:17:55 core.client.31417[8872] INFO: attempting to connect...
Feb 20 22:17:58 core.client.31417[8872] INFO: attempting to connect...
Feb 20 22:17:58 core.client.31417[8872] ERROR: could not connect to server
Make sure to click "connect" in inexor flex web UI before trying to load a map.
Aha, okay. That did it. But that's still way too complicated!
Aha, okay. That did it. But that's still way too complicated!
Yes that's why we need to fix it :)
When looking at http://127.0.0.1:31416/api/v1/instances/31414/connect in the browser it returns an empty json and in the console appears:
The instance dump (http://127.0.0.1:31416/api/v1/instances/31414/dump) returns:
All this happened on an unmodified fresh installation on Windows 10 with the windows-installer.