Question
A user recently installed an application that accesses a database from a local server. When launching the application, it does not populate any information. Which of the following command-line tools is the best to troubleshoot the issue?
- A. ipconfig
- B. nslookup
- C. netstat Correct
- D. curl
Explanation
The application gets its data from a database on a local server, so the technician should check whether the client actually has a connection to the database server's port. netstat shows active TCP connections, listening ports and their states (for example ESTABLISHED or SYN_SENT), which reveals whether the app is connecting. ipconfig only shows the local IP configuration, nslookup tests DNS name resolution, and curl tests URL-based (HTTP) transfers rather than a database connection.