I’m using ssh to access my droplet. I can pull the code and develop, but how do I view my edits from a browser? What is the equivalent to spinning up the site locally and accessing 127.0.0.1:8080?
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!
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 would depend on the type of application that you are using but for example if you are developing a static HTML/CSS site, you could only install Nginx and it should all work out of the box:
If you are developing a node application, you could again use Nginx but use it as a reverse proxy:
Then once you have this setup, you can visit your droplet’s IP in your browser and you would be able to see your app.
Hope that this helps! Regards, Bobby