I have installed DSS on the Oracle Cloud Ubuntu 20.04 LTS instance. The installation was successful, but I cannot access the DSS start page by using the public IP address and the port number used for the installation. I have already started DSS by using the start command, the VM is also running, but I am unable to access the DSS home page. I have attached 3 screenshots showing the:
Has anyone tried this before and faced a similar issue? I am a beginner in cloud instance and VM management, hence, not being able to debug the issue myself. Any help is much appreciated. Many Thanks.
Hi @pallabtableau ,
The browser message 'Connection Refused' has two main causes:
As DSS installed and started successfully and assuming you are not using a proxy, I will suspect that either the server firewall (if installed) or the cloud provider firewall blocks the port.
To test this, you can use curl or telnet commands:
curl -v ip:port telnet ip port
or create the SSH tunnel on port 11000 and try to access the DSS using localhost:11000 URL:
ssh -L 11000:localhost:11000 user@host
If the curl or telnet tests are unsuccessful or if you used SSH tunnelling and can access DSS using localhost:11000 URL, that means the port is blocked, and you will need to open the port in the firewall before you are able to access DSS using ip:port URL
Hope this helps.
Hi @VitaliyD ,
Many thanks for your reply. I tried the curl command to the same public IP and 11000 port, and below is the output:
ubuntu@vnc-jm:~$ curl -v 184.108.40.206:11000
* Trying 220.127.116.11:11000...
* TCP_NODELAY set
* connect to 18.104.22.168 port 11000 failed: Connection timed out
* Failed to connect to 22.214.171.124 port 11000: Connection timed out
* Closing connection 0
curl: (28) Failed to connect to 126.96.36.199 port 11000: Connection timed out
So it appears that it could be the firewall blocking the access. But I am not sure how to open the port in the firewall, can you please help with any suggestions?
I then tried the SSH command as well, but I am confused on the user@host phrase. Please let me know if my understanding is correct:
here, host refers to the same IP address (188.8.131.52)? how about the user, should it be the username of the VM? when I try the below command, it gives me the below error:
ubuntu@vnc-jm:~$ ssh -L 11000:localhost:11000 email@example.com
firstname.lastname@example.org: Permission denied (publickey).
I am attaching the screenshot from the OCI site as well for your quick and easy reference.
Many thanks for your help.
By searching the internet, I found an article in Oracle help centre on how to open a port to permit the traffic to your VM on a specific port that may be useful. If this won't help, you may need to contact Oracle Cloud support for guidance. Please find it below:
Regarding SSH tunnelling, from the screenshot you provided earlier, you used "ubuntu" user and successfully connected to the VM. However, I can see that additionally, you specified the SSH key in the command, so in your case, the full command should be:
ssh -i id_rsa -L 11000:localhost:11000 email@example.com
After logging in with the above command, you will need to start DSS as you did previously, and then you should be able to access it using the "localhost:11000" URL in your web browser.
Hope this helps.