user1772250
user1772250

Reputation: 369

Access Bluemix CLI from private VLAN

I want to access the basic Bluemix CLI to do some infrastructure management (formerly softlayer) however the way I have configured my network is that all virtual machines are on a private VLAN with no access to the public internet, thus the Bluemix CLI tool is trying to access API endpoint:

https://api.softlayer.com/rest/v3.1

however it is failing:

Get https://api.softlayer.com/rest/v3.1/SoftLayer_Account/getCurrentUser.json: dial tcp 66.228.119.120:443 : i/o timeout

this is just trying to issue the preliminary bx sl init command with my username and API key I generated in the portal.

How does one access this from a private VLAN? Is is possible? or are all tools available to me useless?

Thanks-

Upvotes: 1

Views: 80

Answers (1)

Albert Camacho
Albert Camacho

Reputation: 1104

Try by using the following endpoints for private networks

https://api.service.softlayer.com/rest/v3

or

https://api.service.softlayer.com/rest/v3.1

Reference:

https://softlayer.github.io/blog/klaude/its-time-bust-out-private-network/

Upvotes: 1

Related Questions