Question

Setup code-server on Ubuntu on a digital ocean droplet

As I was following the tutorial on the same topic at (https://www.digitalocean.com/community/tutorials/how-to-set-up-the-code-server-cloud-ide-platform-on-ubuntu-18-04) I tried to setup code server like they show on the main installation page on code-server (https://github.com/cdr/code-server/blob/v3.5.0/doc/guide.md). Using the command code-server --help shows that the server is running.

I also installed nginx and use the setting shown on the installation page but when I try to access the page there is only a 403.

Is there any updated guide on how to setup code-server 3.5 that works?


Submit an answer

This textbox defaults to using Markdown to format your answer.

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

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hi there @ironyhAngler,

I could suggest following the steps from this answer here:

https://www.digitalocean.com/community/questions/run-vscode-in-browser-from-a-remote-server

The only thing that you would need to change is the wget command and specify the version that you need to install.

Another thing that you could try is to use the 1-Click installation available on the DigitalOcean Marketplace:

https://marketplace.digitalocean.com/apps/code-server

Regards, Bobby