API port 8000 - This site can’t be reached

  • Posted November 10, 2017
  • API


I have followed this tutorial to the letter but whenever I run my R code on port 8000 (or any port) and open up a browser

http://ip:8000 I keep getting an: This site cannot be reached error

Any help would be much appreciated


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.


What I would usually do in such cases is:

  • First check if the process is actually listening on that port:
netstat -plant | grep 8000
  • If the port is actually being used, then make sure that it is open for incoming traffic via your firewall. If you are using Ubuntu and UFW, you could do that with:
ufw allow 8000

Hope that this helps! Regards, Bobby