How do I check if my linux server connects to another server

Posted on 2014-07-16
Last Modified: 2014-07-16
I am trying to configure my worklight server for push notifications. As such I need to ensure that my worklight server, which is a linux server, can access the following ip addresses:

Can anyone give me the commands on linux to do that? That is to check that the above four are accessible
Question by:onaled777
    LVL 37

    Assisted Solution

    by:Gerwin Jansen
    To test connectivity, you can try telnet:

    telnet 2195

    If it is working, you should get a reply like this:

    Connected to
    Escape character is '^]'.
    LVL 14

    Accepted Solution

    Use telnet. Use the following format, where #### is the port to connect to:

    telnet ####

    $ telnet 2195
    Connected to
    Escape character is '^]'.

    If you get the Connected... message, then you successfully connected to that server and port.

    Type quit to exit telnet, then try the next domain in your list.

    EDIT: Gerwin beat me by 2 1/2 minutes!

    Author Closing Comment

    Thank you both for your lighning responses! I appreciate.
    LVL 37

    Expert Comment

    by:Gerwin Jansen
    You're welcome ;)

    Featured Post

    Why You Should Analyze Threat Actor TTPs

    After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

    Join & Write a Comment

    Over the last ten+ years I have seen Linux configuration tools come and go. In the early days there was the tried-and-true, all-powerful linuxconf that many thought would remain the one and only Linux configuration tool until the end of times. Well,…
    If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…

    755 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    25 Experts available now in Live!

    Get 1:1 Help Now