31.07.2024, 07:50
Run this script and see the logs
Code:
function checktcp(ip, port)
local sock = require('socket').tcp()
sock:settimeout(1)
local res, err = sock:connect(ip, port)
sock:close()
return res, err
end
-- change IP/PORT as needed
res, err = checktcp('remote.logicmachine.net', 443)
if res then
log('connect OK')
else
log('connect ERROR', err)
end
------------------------------
Ctrl+F5
Ctrl+F5