0

I am running 16.04 Ubuntu locally, I am running a AWS instance with an Ubuntu 16.04 image. I am unable to request this site with curl (using to test for internet connectivity)

curl https://oddsportal.com

It returns

* Failed to connect to oddsportal.com port 443: Connection timed out

Here are my outbound and inbound rules respectively. inbound outbound

These are the results from netstat

netstat -nlp

5
  • before digging more into configs, your netstat command was something like netstat -aln ? Do you understand netstat output? Basically there is no service listening on port 80 or 443. You have to start your webserver first!
    – vx3r
    Sep 1, 2019 at 15:20
  • After you start your web server, the next barrier is usually the security group, internet gateway, and routing.
    – Tim
    Sep 1, 2019 at 18:27
  • yes I ran that command, as I saw others had used it in similar questions. I don't know why those ports aren't open when I have allowed them in my inbound and outbound rules. By starting the webserver do you mean running the AWS instance on my machine? Sep 2, 2019 at 6:03
  • your site need to be served by a running webserver like nginx, apache etc. What is your webserver ? you need to start it before trying to access the site
    – vx3r
    Sep 2, 2019 at 7:15
  • @vx3r To be clear, this isn't my site. I am simply using the curl comand to determine if my AWS Instance has internet connection, so I can eventually run a Scrapy script Sep 4, 2019 at 8:57

1 Answer 1

0

It looks to me like https://oddsportal.com isn't configured correctly

Try https://www.oddsportal.com/

1
  • same response unfortunately. Sep 4, 2019 at 8:58

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.