Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Respect default port when connecting by IP/domain name only #210

Open
izmalk opened this issue Sep 11, 2023 · 0 comments
Open

Respect default port when connecting by IP/domain name only #210

izmalk opened this issue Sep 11, 2023 · 0 comments

Comments

@izmalk
Copy link

izmalk commented Sep 11, 2023

Problem to Solve

To be able to connect to a server via the default 1729 port if we used only an IP address or domain name of a server:

  • typedb console -server localhost
  • typedb console -server 127.0.0.1
  • typedb console -server typedb.izmalkov.net
  • typedb console --cluster=deployment-a4fa20-16fa-4144-89c7-902a61f01eca-0.deployment-a4fa20-16fa-4144-89c7-902a61f01eca.cloud.typedb.com --username=admin --password --tls-enabled --tls-root-ca="/tests/cloud/typedb-cloud-root-ca.pem"

Current Workaround

Use the full address, including the 1729 port.

Proposed Solution

Treat any address without an explicitly set port as the default port address.

Additional Information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant