Introduction
Chainstack offers nodes in geo-diverse locations.
You may want to do a quick latency test to see the speed from from your server to the Chainstack node.
Running a ping, tracert, or a traceroute command will show lost packets and won't produce results.
The utilities ping, tracert, and traceroute rely on ICMP, which is disabled by default on the instances running the nodes for security reasons.
Solution
nmap
Use nmap to check the latency:
nmap -p 80 HOSTNAME
where HOSTNAME is your node's hostname. See View node access and credentials.
Example:
nmap -p 80 nd-123-456-789.p2pify.com
time
You can send an RPC call to the node's endpoint and time the result:
time curl 'HTTPS_ENDPOINT' -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
where HTTPS_ENDPOINT is your node's hostname. See View node access and credentials.
Example:
time curl 'https://nd-123-456-789.p2pify.com/3c6e0b8a9c15224a8228b9a98ca1531d' -H 'Content-Type: application/json' -d '{"jsonrpc":"2.0","method":"eth_syncing","params":[],"id":1}'
Comments
0 comments
Article is closed for comments.