Skip to content

Commit

Permalink
fix typo 12420 port 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
Victor Lee authored and Victor Lee committed Jun 26, 2023
1 parent 0c8be93 commit ae5f853
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modules/gsql-shell/pages/using-a-remote-gsql-client.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ The client is packaged as a Java jar file, `gsql_client.jar` located in the fold

If you have SSL enabled, you must obtain the TigerGraph server's public SSL certificate.
Run the following Unix command, replacing `<ip_address>` with the IP address of your TigerGraph server, and replacing `<path_to_certificate>` with a filename for the certificate, such as `ssl_1.cert1`.
Note that the port to access TigerGraph Server is 12420.
Note that the port to access TigerGraph Server is 14240.

You need to install link:https://www.openssl.org/[`openssl`] on your client machine to run this command.

[.wrap,console]
----
echo | openssl s_client -connect <ip_address>:12420 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > <path_to_certificate>
echo | openssl s_client -connect <ip_address>:14240 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > <path_to_certificate>
----

=== Connect to the server
Expand All @@ -49,7 +49,7 @@ Run the following command to connect to the remote server:
----
java -jar <path_to_client> \ <1>
--cacert <path_to_certificate> \ <2>
--ip <ip_address>:12420 \ <3>
--ip <ip_address>:14240 \ <3>
-u <username> <4>
----
<1> Replace `<path_to_client>` with the file path to the GSQL client.
Expand Down

0 comments on commit ae5f853

Please sign in to comment.