Skip to content
The Chat Archive
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

  1. User

    how can i ping a server 10.123.45.85 and port is 443 in linux

  2. Assistant

    You can use the ping command to check if a server is reachable, but it doesn't allow you to specify a port. Instead, you can use the telnet command 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 443
    

    If the server is reachable and the port is open, you should see a successful connection. Press Ctrl + ] to exit the telnet session.