Advertisement
Guest User

Untitled

a guest
Jun 25th, 2016
305
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. //// USING HTTPS //// (SUCCESS)
  2.  
  3. </html>Apples-MacBook-Pro:~ apple$ curl -v https://dailymotion.com
  4. * Rebuilt URL to: https://dailymotion.com/
  5. * Trying 195.8.215.136...
  6. * Connected to dailymotion.com (195.8.215.136) port 443 (#0)
  7. * TLS 1.2 connection using TLS_RSA_WITH_AES_128_CBC_SHA256
  8. * Server certificate: *.dailymotion.com
  9. * Server certificate: DigiCert SHA2 High Assurance Server CA
  10. * Server certificate: DigiCert High Assurance EV Root CA
  11. > GET / HTTP/1.1
  12. > Host: dailymotion.com
  13. > User-Agent: curl/7.43.0
  14. > Accept: */*
  15. >
  16. < HTTP/1.1 301 Moved Permanently
  17. < Content-Type: text/html
  18. < Date: Sat, 25 Jun 2016 21:24:00 GMT
  19. < Location: https://www.dailymotion.com/
  20. < Connection: Keep-Alive
  21. < Content-Length: 0
  22. <
  23. * Connection #0 to host dailymotion.com left intact
  24.  
  25.  
  26. //// USING HTTP //// (FAILS)
  27.  
  28. Apples-MacBook-Pro:~ apple$ curl -v http://dailymotion.com
  29. * Rebuilt URL to: http://dailymotion.com/
  30. * Trying 195.8.215.136...
  31. * connect to 195.8.215.136 port 80 failed: Connection refused
  32. * Failed to connect to dailymotion.com port 80: Connection refused
  33. * Closing connection 0
  34. curl: (7) Failed to connect to dailymotion.com port 80: Connection refused
  35. Apples-MacBook-Pro:~ apple$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement