Unable to connect to server :(
Posted: 11 Jul 2023, 03:09
When I try and connect to the server from my game, the 'OnConnection' event is fired with a failure response.
I have the following connection settings :
At this point I have not setup and rooms/zones. (I assume it doesn't matter until I make a connection)
I am connecting to an EC2 instance on AWS. I have opened the ports 9933 UDP, 9933 TCP and 8080 TCP.
I can view the admin console successfully.
Typing ./sfs2x-service status on the server says "sfs2x-service is running."
On the server, if I do a :
sudo tcpdump -i eth0 port 9933
to monitor all traffic to port 9933, when I load my game I see zero traffic.
I known the port is open cause if I telnet xx.xxx.xxx.xxx 9933 I see traffic.
Any guesses what I am missing? Any other tricks I can do to troubleshoot?
Thanks!
I have the following connection settings :
Code: Select all
public string host = "xx.xxx.xxx.xxx"; (not localhost, remote server)
public int tcpPort = 9933;
public int httpPort = 8080;
public int httpsPort = 8443;
public bool useHttpTunnel = false;
public bool encrypt = false;
public string zone = "BasicExamples";
public bool debug = true;
public LogLevel logLevel = LogLevel.INFO;I am connecting to an EC2 instance on AWS. I have opened the ports 9933 UDP, 9933 TCP and 8080 TCP.
I can view the admin console successfully.
Typing ./sfs2x-service status on the server says "sfs2x-service is running."
On the server, if I do a :
sudo tcpdump -i eth0 port 9933
to monitor all traffic to port 9933, when I load my game I see zero traffic.
I known the port is open cause if I telnet xx.xxx.xxx.xxx 9933 I see traffic.
Any guesses what I am missing? Any other tricks I can do to troubleshoot?
Thanks!