0

I'm currently attempting to setup a jupyterhub instance on AWS using a Ubuntu 14.04 machine.

I have been using this tutorial https://gist.github.com/widdowquinn/e91b9bb850ece8873bbd084944798fe2 and for some reason when trying to access jupyter.uiuc-bdeep.org using a browser the connection is always refused/unable to connect. Further snooping has revealed using TCP scanning sites that ports 80 and 443 are closed.

I'm not sure what is going on due to my EC2 security group inbound rules being open to all connections on port 80 and 443. Please let me know what is possible to solve this issue.

Snapshot of current security group configuration

  • Is your VPC open on those ports? Check your VPC network ACLs – Brandon Miller Jun 05 '18 at 20:18
  • How would one check what ports are open on my VPC? I'm in the sidebar of VPC and cannot seem to find anything related to ports. – Alex Moore Jun 05 '18 at 20:34
  • Just because your security group allows the port does not mean anything is listening. Is your process running on the machine? Is it listening on the correct interface (likely `0.0.0.0` unless there is a proxy in front)? – stdunbar Jun 05 '18 at 20:44
  • Yeah jupyterhub is running on the machine. I'm not sure how to get it to listen on the correct interface though, I used wget on 0.0.0.0 as well as jupyter.uiuc-bdeep.org but it fails to connect citing 0.0.0.0:80 and 34.235.87.80:80 respectively. – Alex Moore Jun 05 '18 at 20:54
  • 1
    If you do a `netstat -na | grep 80 | grep LISTEN`, what do you get? My guess is that it's `127.0.0.1`, not `0.0.0.0`. – stdunbar Jun 05 '18 at 21:02
  • 1
    @AlexMoore VPC -> Network ACLs – Brandon Miller Jun 05 '18 at 21:19

0 Answers0