I can't run wttr.ini in Xubuntu 16.04.6, connection time outInstalled Xubuntu desktop on Ubuntu 12.04 server and now can't connect via SSHCan not connect via FTP over explicit TLS/SSLXUbuntu 14.04 - Logitech Mini Boombox Speaker Fails to Connect/stream sound over bluetoothWired network not connecting automatically after xubuntu 14.10 upgradeUbuntu 16.04 openssl s_client write:errno=104

Using 4K Skyrim Textures when running 1920 x 1080 display resolution?

Using the Grappler feat, can you grapple and pin (restrain) in the same action?

Redirect output on-the-fly - looks not possible in Linux, why?

As a girl, how can I voice male characters effectively?

Maintaining distance

Why is my vegetable stock bitter, but the chicken stock not?

The answer is the same (tricky puzzle!)

How to prove (A v B), (A → C), (B → D) therefore (C v D)

Vim freezes after Ctrl-S

What benefits are there to blocking most search engines?

How to explain that the sums of numerators over sums of denominators isn't the same as the mean of ratios?

How to accompany with piano in latin music when given only chords?

As an interviewer, how to conduct interviews with candidates you already know will be rejected?

No interest ever. Just a fee for my end,

How is the speed of nucleons in the nucleus measured?

Use floats or doubles when writing mobile games

Found a minor bug, affecting 1% of users. What should QA do?

How fast are we moving relative to the CMB?

I've been fired, was allowed to announce it as if I quit and given extra notice, how to handle the questions?

Is insurance company’s preferred auto shop biased?

How do we know for sure a transliteration is lossless?

What is /dev/null and why can't I use hx on it?

What are the X Units for an elevation profile and how can I change them to meters?

Proof of bound on optimal TSP tour length in rectangular region



I can't run wttr.ini in Xubuntu 16.04.6, connection time out


Installed Xubuntu desktop on Ubuntu 12.04 server and now can't connect via SSHCan not connect via FTP over explicit TLS/SSLXUbuntu 14.04 - Logitech Mini Boombox Speaker Fails to Connect/stream sound over bluetoothWired network not connecting automatically after xubuntu 14.10 upgradeUbuntu 16.04 openssl s_client write:errno=104






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty
margin-bottom:0;









0















When I try to run "curl wttr.in" I get this:



curl: (7) Failed to connect to 192.168.49.1 port 8282: Connection timed out .



Firewall is disable (ufw -> innactive), how can I fix that? I have the latest version of curl (curl 7.47.0 (x86_64-pc-linux-gnu)), So far I couldn't find wttr.ini conf files. Appreciate some help. Vladi










share|improve this question


























  • what do you get when you open a browser and go to http://wttr.in/? Oh and wttr.in is a webadress not a file on your system.

    – Rinzwind
    Apr 16 at 21:06












  • @Rinzwind yes, I get the weather for my location, but what about run from xfce4-terminal ?

    – vladimir pavloski
    Apr 16 at 21:59











  • My curl -v wttr.in connects wttr.in (5.9.243.187) port 80. Does your DNS server lie about wttr.in? host wttr.in Where did your IP and port (192.168.49.1 port 8282) come from?

    – waltinator
    Apr 16 at 22:27











  • Please Edit (askubuntu.com/posts/1134480/edit ) your post add add the above information, properly formatted (with the tool). Information in the comment stream is too hard to read, too hard to index.

    – waltinator
    Apr 17 at 15:32











  • @waltinator my IPv.4 is 192.168.0.12, Broadcast 192.168.0.255 , default route 192.168.0.1 , primary DNS 192.168.0.1 , secondary DNS 192.168.0.2 , IPv.6 ignored . port 8282 I have no idea where's from. can I set another port which works with wttr.in?

    – vladimir pavloski
    Apr 17 at 16:48


















0















When I try to run "curl wttr.in" I get this:



curl: (7) Failed to connect to 192.168.49.1 port 8282: Connection timed out .



Firewall is disable (ufw -> innactive), how can I fix that? I have the latest version of curl (curl 7.47.0 (x86_64-pc-linux-gnu)), So far I couldn't find wttr.ini conf files. Appreciate some help. Vladi










share|improve this question


























  • what do you get when you open a browser and go to http://wttr.in/? Oh and wttr.in is a webadress not a file on your system.

    – Rinzwind
    Apr 16 at 21:06












  • @Rinzwind yes, I get the weather for my location, but what about run from xfce4-terminal ?

    – vladimir pavloski
    Apr 16 at 21:59











  • My curl -v wttr.in connects wttr.in (5.9.243.187) port 80. Does your DNS server lie about wttr.in? host wttr.in Where did your IP and port (192.168.49.1 port 8282) come from?

    – waltinator
    Apr 16 at 22:27











  • Please Edit (askubuntu.com/posts/1134480/edit ) your post add add the above information, properly formatted (with the tool). Information in the comment stream is too hard to read, too hard to index.

    – waltinator
    Apr 17 at 15:32











  • @waltinator my IPv.4 is 192.168.0.12, Broadcast 192.168.0.255 , default route 192.168.0.1 , primary DNS 192.168.0.1 , secondary DNS 192.168.0.2 , IPv.6 ignored . port 8282 I have no idea where's from. can I set another port which works with wttr.in?

    – vladimir pavloski
    Apr 17 at 16:48














0












0








0








When I try to run "curl wttr.in" I get this:



curl: (7) Failed to connect to 192.168.49.1 port 8282: Connection timed out .



Firewall is disable (ufw -> innactive), how can I fix that? I have the latest version of curl (curl 7.47.0 (x86_64-pc-linux-gnu)), So far I couldn't find wttr.ini conf files. Appreciate some help. Vladi










share|improve this question
















When I try to run "curl wttr.in" I get this:



curl: (7) Failed to connect to 192.168.49.1 port 8282: Connection timed out .



Firewall is disable (ufw -> innactive), how can I fix that? I have the latest version of curl (curl 7.47.0 (x86_64-pc-linux-gnu)), So far I couldn't find wttr.ini conf files. Appreciate some help. Vladi







xubuntu configuration curl weather






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Apr 16 at 22:24









waltinator

24.9k7 gold badges43 silver badges74 bronze badges




24.9k7 gold badges43 silver badges74 bronze badges










asked Apr 16 at 20:47









vladimir pavloskivladimir pavloski

557 bronze badges




557 bronze badges















  • what do you get when you open a browser and go to http://wttr.in/? Oh and wttr.in is a webadress not a file on your system.

    – Rinzwind
    Apr 16 at 21:06












  • @Rinzwind yes, I get the weather for my location, but what about run from xfce4-terminal ?

    – vladimir pavloski
    Apr 16 at 21:59











  • My curl -v wttr.in connects wttr.in (5.9.243.187) port 80. Does your DNS server lie about wttr.in? host wttr.in Where did your IP and port (192.168.49.1 port 8282) come from?

    – waltinator
    Apr 16 at 22:27











  • Please Edit (askubuntu.com/posts/1134480/edit ) your post add add the above information, properly formatted (with the tool). Information in the comment stream is too hard to read, too hard to index.

    – waltinator
    Apr 17 at 15:32











  • @waltinator my IPv.4 is 192.168.0.12, Broadcast 192.168.0.255 , default route 192.168.0.1 , primary DNS 192.168.0.1 , secondary DNS 192.168.0.2 , IPv.6 ignored . port 8282 I have no idea where's from. can I set another port which works with wttr.in?

    – vladimir pavloski
    Apr 17 at 16:48


















  • what do you get when you open a browser and go to http://wttr.in/? Oh and wttr.in is a webadress not a file on your system.

    – Rinzwind
    Apr 16 at 21:06












  • @Rinzwind yes, I get the weather for my location, but what about run from xfce4-terminal ?

    – vladimir pavloski
    Apr 16 at 21:59











  • My curl -v wttr.in connects wttr.in (5.9.243.187) port 80. Does your DNS server lie about wttr.in? host wttr.in Where did your IP and port (192.168.49.1 port 8282) come from?

    – waltinator
    Apr 16 at 22:27











  • Please Edit (askubuntu.com/posts/1134480/edit ) your post add add the above information, properly formatted (with the tool). Information in the comment stream is too hard to read, too hard to index.

    – waltinator
    Apr 17 at 15:32











  • @waltinator my IPv.4 is 192.168.0.12, Broadcast 192.168.0.255 , default route 192.168.0.1 , primary DNS 192.168.0.1 , secondary DNS 192.168.0.2 , IPv.6 ignored . port 8282 I have no idea where's from. can I set another port which works with wttr.in?

    – vladimir pavloski
    Apr 17 at 16:48

















what do you get when you open a browser and go to http://wttr.in/? Oh and wttr.in is a webadress not a file on your system.

– Rinzwind
Apr 16 at 21:06






what do you get when you open a browser and go to http://wttr.in/? Oh and wttr.in is a webadress not a file on your system.

– Rinzwind
Apr 16 at 21:06














@Rinzwind yes, I get the weather for my location, but what about run from xfce4-terminal ?

– vladimir pavloski
Apr 16 at 21:59





@Rinzwind yes, I get the weather for my location, but what about run from xfce4-terminal ?

– vladimir pavloski
Apr 16 at 21:59













My curl -v wttr.in connects wttr.in (5.9.243.187) port 80. Does your DNS server lie about wttr.in? host wttr.in Where did your IP and port (192.168.49.1 port 8282) come from?

– waltinator
Apr 16 at 22:27





My curl -v wttr.in connects wttr.in (5.9.243.187) port 80. Does your DNS server lie about wttr.in? host wttr.in Where did your IP and port (192.168.49.1 port 8282) come from?

– waltinator
Apr 16 at 22:27













Please Edit (askubuntu.com/posts/1134480/edit ) your post add add the above information, properly formatted (with the tool). Information in the comment stream is too hard to read, too hard to index.

– waltinator
Apr 17 at 15:32





Please Edit (askubuntu.com/posts/1134480/edit ) your post add add the above information, properly formatted (with the tool). Information in the comment stream is too hard to read, too hard to index.

– waltinator
Apr 17 at 15:32













@waltinator my IPv.4 is 192.168.0.12, Broadcast 192.168.0.255 , default route 192.168.0.1 , primary DNS 192.168.0.1 , secondary DNS 192.168.0.2 , IPv.6 ignored . port 8282 I have no idea where's from. can I set another port which works with wttr.in?

– vladimir pavloski
Apr 17 at 16:48






@waltinator my IPv.4 is 192.168.0.12, Broadcast 192.168.0.255 , default route 192.168.0.1 , primary DNS 192.168.0.1 , secondary DNS 192.168.0.2 , IPv.6 ignored . port 8282 I have no idea where's from. can I set another port which works with wttr.in?

– vladimir pavloski
Apr 17 at 16:48











1 Answer
1






active

oldest

votes


















1
















The problem is that you have some wrong configuration in your local ~/.curlrc (probably a proxy server). It tries to connect to the proxy server instead of wttr.in, and the server is not reachable (connection timeout).



That's also the reason why it works when you are using sudo:
because your root user does not have this misconfigured .curlrc in its home directory (/root).



Of course, you do not need root rights to use curl.



To check my conjecture, just increase the verbosity level, while doing
the query:



 curl -v wttr.in/?q


You will see that the client is trying to connecting to the proxy server.






share|improve this answer


























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "89"
    ;
    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',
    autoActivateHeartbeat: false,
    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/4.0/"u003ecc by-sa 4.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%2faskubuntu.com%2fquestions%2f1134480%2fi-cant-run-wttr-ini-in-xubuntu-16-04-6-connection-time-out%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    1
















    The problem is that you have some wrong configuration in your local ~/.curlrc (probably a proxy server). It tries to connect to the proxy server instead of wttr.in, and the server is not reachable (connection timeout).



    That's also the reason why it works when you are using sudo:
    because your root user does not have this misconfigured .curlrc in its home directory (/root).



    Of course, you do not need root rights to use curl.



    To check my conjecture, just increase the verbosity level, while doing
    the query:



     curl -v wttr.in/?q


    You will see that the client is trying to connecting to the proxy server.






    share|improve this answer





























      1
















      The problem is that you have some wrong configuration in your local ~/.curlrc (probably a proxy server). It tries to connect to the proxy server instead of wttr.in, and the server is not reachable (connection timeout).



      That's also the reason why it works when you are using sudo:
      because your root user does not have this misconfigured .curlrc in its home directory (/root).



      Of course, you do not need root rights to use curl.



      To check my conjecture, just increase the verbosity level, while doing
      the query:



       curl -v wttr.in/?q


      You will see that the client is trying to connecting to the proxy server.






      share|improve this answer



























        1














        1










        1









        The problem is that you have some wrong configuration in your local ~/.curlrc (probably a proxy server). It tries to connect to the proxy server instead of wttr.in, and the server is not reachable (connection timeout).



        That's also the reason why it works when you are using sudo:
        because your root user does not have this misconfigured .curlrc in its home directory (/root).



        Of course, you do not need root rights to use curl.



        To check my conjecture, just increase the verbosity level, while doing
        the query:



         curl -v wttr.in/?q


        You will see that the client is trying to connecting to the proxy server.






        share|improve this answer













        The problem is that you have some wrong configuration in your local ~/.curlrc (probably a proxy server). It tries to connect to the proxy server instead of wttr.in, and the server is not reachable (connection timeout).



        That's also the reason why it works when you are using sudo:
        because your root user does not have this misconfigured .curlrc in its home directory (/root).



        Of course, you do not need root rights to use curl.



        To check my conjecture, just increase the verbosity level, while doing
        the query:



         curl -v wttr.in/?q


        You will see that the client is trying to connecting to the proxy server.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Apr 22 at 14:48









        Igor ChubinIgor Chubin

        1165 bronze badges




        1165 bronze badges































            draft saved

            draft discarded















































            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid


            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.

            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1134480%2fi-cant-run-wttr-ini-in-xubuntu-16-04-6-connection-time-out%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Training a classifier when some of the features are unknownWhy does Gradient Boosting regression predict negative values when there are no negative y-values in my training set?How to improve an existing (trained) classifier?What is effect when I set up some self defined predisctor variables?Why Matlab neural network classification returns decimal values on prediction dataset?Fitting and transforming text data in training, testing, and validation setsHow to quantify the performance of the classifier (multi-class SVM) using the test data?How do I control for some patients providing multiple samples in my training data?Training and Test setTraining a convolutional neural network for image denoising in MatlabShouldn't an autoencoder with #(neurons in hidden layer) = #(neurons in input layer) be “perfect”?