Checks if a specified IP/hostname and port are listening for connections (TCP)
-
URL
/tcp_socket
-
Method:
POST
-
URL Params
None
-
Data Params
{'ip': '[ip/hostname]', 'port': '[port]'}
-
TCP Port Listing Response:
- Content:
{ 'status': 'online' }
- Content:
-
TCP Port Not Listing Response:
- Content:
{ 'status': 'offline' }
- Content:
-
Error Response:
- Content:
{ 'status': 'error' }
- Invalid IPv4 address / hostname or invalid port number
- Content: