Report this

What is the reason for this report?

API port 8000 - This site can’t be reached

Posted on November 10, 2017

Hi,

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

https://www.computerworld.com/article/3171766/application-development/how-to-create-your-own-slack-bots-and-web-apis-in-r.html?page=2

Any help would be much appreciated



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.

Hello,

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

This comment has been deleted

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.