Wont connect

Started by Nuno, January 08, 2017, 08:49:04 PM

Previous topic - Next topic

Nuno

So, i migrated my panel to the same server running the proccess and cant get it to conect, i can connect from my own PC tho:
facha@UbuntuOS:~$ telnet 149.56.28.175 5873
Trying 149.56.28.175...
Connected to 149.56.28.175.
Escape character is '^]'.
JTS3ServerMod

Requirements are met: http://149.56.28.175/info.php

Cant connect using 149.56.28.175 or even 127.0.0.1

Reached no service on that IP address / port! Make sure that the JTS3ServerMod process is running and the telnet_enable and telnet_run_forever settings at the JTS3ServerMod_InstanceManager.cfg are enabled!

Stefan1200

Whats in the JTS3ServerMod_InstanceManager.log file?

Nuno

[root@super1 bots]# cat JTS3ServerMod_InstanceManager.log
2017-01-08 14:41:29 START_MANAGER JTS3ServerMod 6.3.2 Hosting Edition (07.12.2016) Instance Manager started...
2017-01-08 14:41:29 CONFIG Loading InstanceManager config file from: /root/bots/config/JTS3ServerMod_InstanceManager.cfg
2017-01-08 14:41:29 CONFIG Bot chat command !exec is disabled!
2017-01-08 14:41:29 CONFIG Multi IP Mode disabled!
2017-01-08 14:41:30 LOGGER_SQL_CONNECT Successfully connected to MySQL server for logging!
2017-01-08 14:41:30 CONFIG MySQL mode enabled!
2017-01-08 14:41:31 LICENCE_CHECK Licence key is valid! Thank you very much for your support, Nuno!
2017-01-08 14:41:31 START_INSTANCE Start virtual bot instance 113381...
2017-01-08 14:41:31 START_INSTANCE Start virtual bot instance 155153...
2017-01-08 14:41:31 START_INSTANCE Start virtual bot instance 79980...
2017-01-08 14:41:31 START_INSTANCE Start virtual bot instance 91960...
2017-01-08 14:41:31 START_INSTANCE Start virtual bot instance 91342...
2017-01-08 14:41:32 START_INSTANCE Start virtual bot instance 93449...
2017-01-08 14:41:32 START_INSTANCE Start virtual bot instance 139235...
2017-01-08 14:41:32 START_INSTANCE Start virtual bot instance 123820...
2017-01-08 14:41:32 START_INSTANCE Start virtual bot instance 105362...
2017-01-08 14:41:32 START_INSTANCE Start virtual bot instance 90515...
2017-01-08 14:41:32 START_INSTANCE Start virtual bot instance 98478...
2017-01-08 14:41:32 START_INSTANCE Start virtual bot instance 136860...
2017-01-08 14:41:32 START_INSTANCE Start virtual bot instance 158672...
2017-01-08 14:41:32 TELNET_START Query Interface started on port 5873!
2017-01-08 14:46:30 TELNET_CONNECTION Accepted telnet connection from MY_HOME_IP...
2017-01-08 14:46:56 TELNET_CONNECTION Accepted telnet connection from MY_HOME_IP...
2017-01-08 14:46:59 TELNET_CONNECTION Closed telnet connection to MY_HOME_IP...
2017-01-08 14:49:28 TELNET_CONNECTION Closed telnet connection to MY_HOME_IP...
[root@super1 bots]#

Stefan1200

Good, the JTS3ServerMod is not rejecting any connections. So the problem can be a wrong IP address or port number in the Web Interface / Query Interface settings, or a firewall is blocking the TCP connection from PHP.

Nuno

Firewall is disabled, and can't connect even with 127.0.0.1

Stefan1200

Quote from: Nuno on January 08, 2017, 10:27:58 PM
Firewall is disabled, and can't connect even with 127.0.0.1

Well, as you can see in the log file, the web interface never reached the JTS3ServerMod process. Something is blocking that connection attempt.

Nuno

#6
So, what would be the logic of i can connect remotly but not locally?

Also, i can connect to the query from the server hosting the pannel, but not from the panel itself, so its not being blocked is something on the connection from the panel:

Stefan1200

I have no idea, maybe PHP is blocking something here?

If you try to create a new bot (using the web interface), can the web interface connect to the TS3 server?