curl: (7) Failed connect to www.google.com:80;











up vote
3
down vote

favorite
1












I have installed Git for Windows and got cURL automatically.



C:>curl --version
curl 7.30.0 (i386-pc-win32) libcurl/7.30.0 OpenSSL/0.9.8y zlib/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s
rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM SPNEGO SSL SSPI libz

C:>bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.

C:>grep --version
grep (GNU grep) 2.4.2

Copyright 1988, 1992-1999, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


After installing, when I tried



C:>curl http://www.google.com


I didnt get back the html tags back. I got the following error,



C:>curl http://www.google.com
curl: (7) Failed connect to www.google.com:80; No error


Please can anyone help,How can I fix this issue?










share|improve this question














bumped to the homepage by Community 3 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    Did you solved this? I have the same issue.
    – ole
    Jul 14 '14 at 2:28

















up vote
3
down vote

favorite
1












I have installed Git for Windows and got cURL automatically.



C:>curl --version
curl 7.30.0 (i386-pc-win32) libcurl/7.30.0 OpenSSL/0.9.8y zlib/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s
rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM SPNEGO SSL SSPI libz

C:>bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.

C:>grep --version
grep (GNU grep) 2.4.2

Copyright 1988, 1992-1999, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


After installing, when I tried



C:>curl http://www.google.com


I didnt get back the html tags back. I got the following error,



C:>curl http://www.google.com
curl: (7) Failed connect to www.google.com:80; No error


Please can anyone help,How can I fix this issue?










share|improve this question














bumped to the homepage by Community 3 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.











  • 1




    Did you solved this? I have the same issue.
    – ole
    Jul 14 '14 at 2:28















up vote
3
down vote

favorite
1









up vote
3
down vote

favorite
1






1





I have installed Git for Windows and got cURL automatically.



C:>curl --version
curl 7.30.0 (i386-pc-win32) libcurl/7.30.0 OpenSSL/0.9.8y zlib/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s
rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM SPNEGO SSL SSPI libz

C:>bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.

C:>grep --version
grep (GNU grep) 2.4.2

Copyright 1988, 1992-1999, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


After installing, when I tried



C:>curl http://www.google.com


I didnt get back the html tags back. I got the following error,



C:>curl http://www.google.com
curl: (7) Failed connect to www.google.com:80; No error


Please can anyone help,How can I fix this issue?










share|improve this question













I have installed Git for Windows and got cURL automatically.



C:>curl --version
curl 7.30.0 (i386-pc-win32) libcurl/7.30.0 OpenSSL/0.9.8y zlib/1.2.7
Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s
rtsp smtp smtps telnet tftp
Features: AsynchDNS GSS-Negotiate IPv6 Largefile NTLM SPNEGO SSL SSPI libz

C:>bash --version
GNU bash, version 3.1.0(1)-release (i686-pc-msys)
Copyright (C) 2005 Free Software Foundation, Inc.

C:>grep --version
grep (GNU grep) 2.4.2

Copyright 1988, 1992-1999, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


After installing, when I tried



C:>curl http://www.google.com


I didnt get back the html tags back. I got the following error,



C:>curl http://www.google.com
curl: (7) Failed connect to www.google.com:80; No error


Please can anyone help,How can I fix this issue?







windows curl






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jun 3 '14 at 6:46









Boomerang

146128




146128





bumped to the homepage by Community 3 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







bumped to the homepage by Community 3 hours ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.










  • 1




    Did you solved this? I have the same issue.
    – ole
    Jul 14 '14 at 2:28
















  • 1




    Did you solved this? I have the same issue.
    – ole
    Jul 14 '14 at 2:28










1




1




Did you solved this? I have the same issue.
– ole
Jul 14 '14 at 2:28






Did you solved this? I have the same issue.
– ole
Jul 14 '14 at 2:28












2 Answers
2






active

oldest

votes

















up vote
1
down vote













I’ve had the same here. Turns out that it was my firewall (LittleSnitch on Mac).



But my Firewall only blocked curl connections on port 80. So the wget command was working. E.g. wget google.com – loads a index.html into you current folder. I’m on Mac, so i don’t know if this is also available on Windows.



And i was also able to download the file via my browser.



You could test wget, test your browser and then check if the curl is working on your url in another network, to make sure that it's not caused by the firewall’s network.






share|improve this answer




























    up vote
    -2
    down vote













    I wish I could remember the poster to properly credit him/her but this is the advice, "Load GE even if you get the black screen and to to "Tools" (in google not windows browser) then select "Options" then select the "General" tab and find the "Network" area and uncheck the box which states "Use HTTPS for Google connections"...then "OK/Apply" it and reboot GE. That'w what worked for me.



    Envirodan






    share|improve this answer





















    • how is curl related to Chrome?
      – phuclv
      Sep 12 at 5:07











    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "3"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f762922%2fcurl-7-failed-connect-to-www-google-com80%23new-answer', 'question_page');
    }
    );

    Post as a guest
































    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote













    I’ve had the same here. Turns out that it was my firewall (LittleSnitch on Mac).



    But my Firewall only blocked curl connections on port 80. So the wget command was working. E.g. wget google.com – loads a index.html into you current folder. I’m on Mac, so i don’t know if this is also available on Windows.



    And i was also able to download the file via my browser.



    You could test wget, test your browser and then check if the curl is working on your url in another network, to make sure that it's not caused by the firewall’s network.






    share|improve this answer

























      up vote
      1
      down vote













      I’ve had the same here. Turns out that it was my firewall (LittleSnitch on Mac).



      But my Firewall only blocked curl connections on port 80. So the wget command was working. E.g. wget google.com – loads a index.html into you current folder. I’m on Mac, so i don’t know if this is also available on Windows.



      And i was also able to download the file via my browser.



      You could test wget, test your browser and then check if the curl is working on your url in another network, to make sure that it's not caused by the firewall’s network.






      share|improve this answer























        up vote
        1
        down vote










        up vote
        1
        down vote









        I’ve had the same here. Turns out that it was my firewall (LittleSnitch on Mac).



        But my Firewall only blocked curl connections on port 80. So the wget command was working. E.g. wget google.com – loads a index.html into you current folder. I’m on Mac, so i don’t know if this is also available on Windows.



        And i was also able to download the file via my browser.



        You could test wget, test your browser and then check if the curl is working on your url in another network, to make sure that it's not caused by the firewall’s network.






        share|improve this answer












        I’ve had the same here. Turns out that it was my firewall (LittleSnitch on Mac).



        But my Firewall only blocked curl connections on port 80. So the wget command was working. E.g. wget google.com – loads a index.html into you current folder. I’m on Mac, so i don’t know if this is also available on Windows.



        And i was also able to download the file via my browser.



        You could test wget, test your browser and then check if the curl is working on your url in another network, to make sure that it's not caused by the firewall’s network.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Sep 16 '14 at 9:46









        user1537751

        1112




        1112
























            up vote
            -2
            down vote













            I wish I could remember the poster to properly credit him/her but this is the advice, "Load GE even if you get the black screen and to to "Tools" (in google not windows browser) then select "Options" then select the "General" tab and find the "Network" area and uncheck the box which states "Use HTTPS for Google connections"...then "OK/Apply" it and reboot GE. That'w what worked for me.



            Envirodan






            share|improve this answer





















            • how is curl related to Chrome?
              – phuclv
              Sep 12 at 5:07















            up vote
            -2
            down vote













            I wish I could remember the poster to properly credit him/her but this is the advice, "Load GE even if you get the black screen and to to "Tools" (in google not windows browser) then select "Options" then select the "General" tab and find the "Network" area and uncheck the box which states "Use HTTPS for Google connections"...then "OK/Apply" it and reboot GE. That'w what worked for me.



            Envirodan






            share|improve this answer





















            • how is curl related to Chrome?
              – phuclv
              Sep 12 at 5:07













            up vote
            -2
            down vote










            up vote
            -2
            down vote









            I wish I could remember the poster to properly credit him/her but this is the advice, "Load GE even if you get the black screen and to to "Tools" (in google not windows browser) then select "Options" then select the "General" tab and find the "Network" area and uncheck the box which states "Use HTTPS for Google connections"...then "OK/Apply" it and reboot GE. That'w what worked for me.



            Envirodan






            share|improve this answer












            I wish I could remember the poster to properly credit him/her but this is the advice, "Load GE even if you get the black screen and to to "Tools" (in google not windows browser) then select "Options" then select the "General" tab and find the "Network" area and uncheck the box which states "Use HTTPS for Google connections"...then "OK/Apply" it and reboot GE. That'w what worked for me.



            Envirodan







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Jan 8 '16 at 19:28









            Dan Richmond

            1




            1












            • how is curl related to Chrome?
              – phuclv
              Sep 12 at 5:07


















            • how is curl related to Chrome?
              – phuclv
              Sep 12 at 5:07
















            how is curl related to Chrome?
            – phuclv
            Sep 12 at 5:07




            how is curl related to Chrome?
            – phuclv
            Sep 12 at 5:07


















             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f762922%2fcurl-7-failed-connect-to-www-google-com80%23new-answer', 'question_page');
            }
            );

            Post as a guest




















































































            Popular posts from this blog

            Сан-Квентин

            Алькесар

            Josef Freinademetz