HTTP service broken

When I visit site www.v2ray.com vis browser. It’s working as expect. The page I got is https://www.v2ray.com. But when I visit this domain via command line. Schema http is required. But this is broken. I don’t see any configuration in Cloudflare admin panel.
Here’s the test script I ran

$ curl -I http://www.v2ray.com/core/?go-get=1
curl: (7) Couldn't connect to server
$ curl -I https://www.v2ray.com/core/?go-get=1
HTTP/2 301 
date: Mon, 01 Jul 2019 22:02:23 GMT
content-type: text/html
location: https://www.v2ray.com/core/index.html?go-get=1
cf-cache-status: HIT
age: 41730
strict-transport-security: max-age=15552000; includeSubDomains; preload
x-content-type-options: nosniff
expect-ct: max-age=604800, report-uri="https://report-uri.Cloudflare.com/cdn-cgi/beacon/expect-ct"
server: Cloudflare
cf-ray: 4efba9f68cdcc989-SEA
$ ping v2ray.com
PING v2ray.com (104.27.154.107): 56 data bytes
64 bytes from 104.27.154.107: icmp_seq=0 ttl=52 time=164.200 ms
$ curl https://ipinfo.io/104.27.154.107/json
{
  "ip": "104.27.154.107",
  "city": "",
  "region": "",
  "country": "US",
  "loc": "37.7510,-97.8220",
  "org": "AS13335 Cloudflare, Inc."
}

I’m not getting the “Couldn’t connect to server” error from your first command, but if you need HTTP, then turn off “Always Use HTTPS” and “Automatic HTTPS Rewrites” in the SSL/TLS settings tab of the Cloudflare dashboard.

Do you get the same IP as me?

$ telnet 104.27.154.107 80
Trying 104.27.154.107...
telnet: connect to address 104.27.154.107: Input/output error
telnet: Unable to connect to remote host

Yep:

24%20PM

It seems so strange. I can succeed telnet on port 443, but failed on 80.

Some firewall rule on my computer block the connection to v2ray.com:80. Thank you very much for your quick responding.

2 Likes

This topic was automatically closed after 14 days. New replies are no longer allowed.