Can not connect open vpn

Hello. I bought a VPS Ubuntu 16.04.4 from digitalocean.
Used putty for remote connection to the machine set up open-vpn using linux commands

Downloaded open vpn client.
Use my loginid and password but it gives this result

Unable to obtain Session ID from X.X.X.242:443: XML-RPC: ConnectionRefusedError: 10061: No connection could be made because the target machine actively refused it…

Any help?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

It looks like you are trying to connect to port 443. By default, OpenVPN uses 1194 over UDP. Try configuring your client to use that instead. Make sure you are not using OpenVPN Access as it’s a different product.

Check out this tutorial for full instructions on setting up OpenVPN properly and configuring different kinds of clients: