Connection issue in sandbox url while connecting from the other than home folder location

I am unable to connect through sandbox Url when location is other than home folder.
In home folder , able to connect successfully.

Help anyone, Thanks in advance.

Looks like path issue
Make sure mongo is included in your path
While installing there are instructions in the video to update PATH variable
In my case:
PATH=C:\Program Files\MongoDB\Server\4.0\bin;C:\Program Files (x86)\Intel\Intel® Management Engine Components\iCLS;C:\Program Files\Intel\Intel® Management Engine Components\iCLS;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files (x86)\Intel\Intel® Management Engine Components\DAL;C:\Program Files\Intel\Intel® Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel® Management Engine Components\IPT;C:\Program Files\Intel\Intel® Management Engine Components\IPT;C:\MinGW\msys\1.0\bin;C:\HashiCorp\Vagrant\bin;C:\Users\ramrt\AppData\Local\Microsoft\WindowsApps;

Looks like you need to add mongo bin directory to your $PATH variable.

~$ echo $PATH

You need to add in .bash_profile file like this:

 export PATH="~/mongodb-osx-x86_64-enterprise-4.0.3/bin"

And then run source .bash_profile


Done already, so it’s working in home folder, without path addition in .bash_profile. It could not run from home folder as well.

I am trying to solve and finally done today.