QuestionQ87

VerifiedTroubleshooting

A Linux administrator finds that an application is having difficulty connecting to an external database. Which command should the administrator use to verify connectivity to the remote port exposed by a database server?

Explanation

nc -v <host> <port> attempts a connection to the specified remote TCP port and reports whether it succeeds, making it suitable for validating reachability of a database service port such as 3306.

Community Discussion

No comments yet. Be the first to start the discussion!