How To Get Node Server Running

workspace
nodejs

#1

First of all, apologies, if this has been resolved previously, I spent a while searching through but couldn’t find any answer which suitably explained how to resolve the following:

I am using webpack to server the current build. How do I access the localhost/webpack-dev-server instance to review the output. Im mainly doing frontend stuff, for which I need the console logs.

Is there any guide on how to view the dev-server live?

Thanks,


#2

Use the url: workspace-name-username.c9users.io to access your server. Also, make sure you use the IP and PORT environment variables to make sure your server is accessible.