gpt-3.5-turbo-0613· OpenAI WildChat-4.8M (AI2)
how can i ping a server 10.123.45.85 and port is 443 in linux
- User
how can i ping a server 10.123.45.85 and port is 443 in linux
- Assistant
You can use the
pingcommand to check if a server is reachable, but it doesn't allow you to specify a port. Instead, you can use thetelnetcommand to connect to a server on a specific port. Here's how you can check the reachability of the server 10.123.45.85 on port 443:Open a terminal and type:
telnet 10.123.45.85 443If the server is reachable and the port is open, you should see a successful connection. Press
Ctrl + ]to exit the telnet session.