Testing the network connection to the document store data source

Test the connection to the document store data source server to verify that the document store data source server is started correctly.

About this task

You can test the connection to the document store data source server using telnet tool to verify if the document store data source server is started.

Procedure

  1. Start a terminal in the server that runs the federation server.
  2. Issue the following command:
    telnet <document_store_data_source_server_name> port
    
    For example, consider MongoDB:
    telnet <mongodb_server_name> 28017
    

    If the connection is successful, you will receive the following similar output from the command.

    Trying 9.30.252.5...
    Connected to 9.30.252.5.
    Escape character is '^]'.

    If the connection is failed, you will receive the following similar output from the terminal.

    Trying 9.30.252.5...
    telnet: connect to address 9.30.252.5: Connection refused
    telnet: Unable to connect to remote host

    If the connection is unsuccessful, you will receive an error. Check the data source configuration and make sure data source server is started successfully.