Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //// USING HTTPS //// (SUCCESS)
- </html>Apples-MacBook-Pro:~ apple$ curl -v https://dailymotion.com
- * Rebuilt URL to: https://dailymotion.com/
- * Trying 195.8.215.136...
- * Connected to dailymotion.com (195.8.215.136) port 443 (#0)
- * TLS 1.2 connection using TLS_RSA_WITH_AES_128_CBC_SHA256
- * Server certificate: *.dailymotion.com
- * Server certificate: DigiCert SHA2 High Assurance Server CA
- * Server certificate: DigiCert High Assurance EV Root CA
- > GET / HTTP/1.1
- > Host: dailymotion.com
- > User-Agent: curl/7.43.0
- > Accept: */*
- >
- < HTTP/1.1 301 Moved Permanently
- < Content-Type: text/html
- < Date: Sat, 25 Jun 2016 21:24:00 GMT
- < Location: https://www.dailymotion.com/
- < Connection: Keep-Alive
- < Content-Length: 0
- <
- * Connection #0 to host dailymotion.com left intact
- //// USING HTTP //// (FAILS)
- Apples-MacBook-Pro:~ apple$ curl -v http://dailymotion.com
- * Rebuilt URL to: http://dailymotion.com/
- * Trying 195.8.215.136...
- * connect to 195.8.215.136 port 80 failed: Connection refused
- * Failed to connect to dailymotion.com port 80: Connection refused
- * Closing connection 0
- curl: (7) Failed to connect to dailymotion.com port 80: Connection refused
- Apples-MacBook-Pro:~ apple$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement