cancel
Showing results for 
Search instead for 
Did you mean: 

SAP BTP CLI - Could not log in to CLI server

I am trying to connect to SAP BTP Cli using windows Command and not able to connect. Can someone please tell me what could be the reason I am not able to connect ?.

I have done following already:

1) Installed SAP BTP Cli btp.exe on my local PC.

2) Ran CMD command and executed command btp login

It shows I have installed btp client 2.8.0 but doing connecting to server it fails not sure why. i am able to login to same URL using browser without any problem.

Is there any specific configuration needs to enable to make it work ?

Please see attached for exact error.

screenshot-2021-09-30-125832.jpg

Accepted Solutions (1)

Accepted Solutions (1)

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Manoj,

To debug, you can try to connect using the BTP CLI on a terminal with Business Application Studio. This way you can make sure all the configuration, accounts, passwords, etc. is correct.

What remains to debug is whether any firewall on your client (PC) or on the corporate network are blocking ports, etc.

Answers (1)

Answers (1)

0 Kudos

Denys

Thank you. It worked. It was firewall blocking port. I tried to connect outside of network and it worked. Do you know which port being used by BTP ?

dvankempen
Product and Topic Expert
Product and Topic Expert
0 Kudos

REST API > HTTPS > 443

Just noticed there is a developer tutorial as well, which may be of interest