Vi Nguyen's Dev Notes
Search...
Ctrl
K
Deployment & Operation
Database
Check if database is reachable with nc
Check if database is reachable with nc
Last updated
1 year ago
Copy
nc -zv db_host db_port
Referrence
https://www.tecmint.com/check-remote-port-in-linux/
https://linux.die.net/man/1/nc
https://repost.aws/knowledge-center/rds-connectivity-instance-subnet-vpc