How to "point" my browser


#1

In the lessons I’m doing on Cloud9, it gives reference to an outside reference for further reading, and says to “point” my browser to the link it provides, but when I copy/past it into the address bar, it keeps saying “file not found”. Am I doing this wrong? How do you “point” a browser?


#2

“Point” is just a way of saying, “Navigate to this page.” If you could provide us with the link that is giving you the error, we might be able to help.


#3

file:///home/ubuntu/.nvm/versions/node/v4.6.1/lib/node_modules/learnyounod
e/node_apidoc/net.html


#4

The problem here is that file:// refers to the local computer, and not Cloud9. Therefore, I would suggest using the Cloud9 runners to serve your workspace directory, and go to workspacename-username.c9users.io/node_modules/learnyounode/node_apidoc/net.html. Alternatively, you may be able to view it using c9 open ~/.nvm/versions/node/v4.6.1/lib/node_modules/learnyounode/node_apidoc/net.html


#5

I used the c9 open method, and it opens the file, but it’s’ just HTML. How would I run the HTML file from cloud9?


#6

While the file pane is selected, click Preview (at the top), and Live Preview File


#7

Hmm…it’s giving a 404 error.