Debian: Cannot access opened port in US from EU

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP












1















On debian 9 I have opened port 0.0.0.0:18000 using python 3, but I cannot access it from outside (target machine actively refused it). I have no firewalls.



I suspected that it might be because I'm using IPv4 and the server is in US while I'm trying to access it from EU via IPv4. But I tried IPv6 too and it's the same error message. I can normally access it via SSH over IPv4. Ports 80/443 also have normal access over IPv4 but it translates it into IPv6.



Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::18000 :::* LISTEN 701/python3
tcp6 0 0 :::22 :::* LISTEN 552/sshd
tcp6 0 0 :::443 :::* LISTEN 572/apache2
tcp6 0 0 MY_SERVER_IPv4:443 MY-PC-IPv4:10991 ESTABLISHED 61154/apache2


Interesting thing is that using putty I successfully connected using SSH over IPv4 (without translation).



tcp 0 0 MY_SERVER_IPv4:22 MY-PC-IPv4:17085 ESTABLISHED 57796/sshd: root@no


Does anybody have an idea what can I do?










share|improve this question



















  • 3





    You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.

    – Kusalananda
    Feb 16 at 19:04











  • @Kusalananda Thx for the tip, I'll check with my service provider.

    – Boy
    Feb 16 at 19:05






  • 1





    I would probably start by running nmap against the target system.

    – Kusalananda
    Feb 16 at 19:07















1















On debian 9 I have opened port 0.0.0.0:18000 using python 3, but I cannot access it from outside (target machine actively refused it). I have no firewalls.



I suspected that it might be because I'm using IPv4 and the server is in US while I'm trying to access it from EU via IPv4. But I tried IPv6 too and it's the same error message. I can normally access it via SSH over IPv4. Ports 80/443 also have normal access over IPv4 but it translates it into IPv6.



Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::18000 :::* LISTEN 701/python3
tcp6 0 0 :::22 :::* LISTEN 552/sshd
tcp6 0 0 :::443 :::* LISTEN 572/apache2
tcp6 0 0 MY_SERVER_IPv4:443 MY-PC-IPv4:10991 ESTABLISHED 61154/apache2


Interesting thing is that using putty I successfully connected using SSH over IPv4 (without translation).



tcp 0 0 MY_SERVER_IPv4:22 MY-PC-IPv4:17085 ESTABLISHED 57796/sshd: root@no


Does anybody have an idea what can I do?










share|improve this question



















  • 3





    You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.

    – Kusalananda
    Feb 16 at 19:04











  • @Kusalananda Thx for the tip, I'll check with my service provider.

    – Boy
    Feb 16 at 19:05






  • 1





    I would probably start by running nmap against the target system.

    – Kusalananda
    Feb 16 at 19:07













1












1








1








On debian 9 I have opened port 0.0.0.0:18000 using python 3, but I cannot access it from outside (target machine actively refused it). I have no firewalls.



I suspected that it might be because I'm using IPv4 and the server is in US while I'm trying to access it from EU via IPv4. But I tried IPv6 too and it's the same error message. I can normally access it via SSH over IPv4. Ports 80/443 also have normal access over IPv4 but it translates it into IPv6.



Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::18000 :::* LISTEN 701/python3
tcp6 0 0 :::22 :::* LISTEN 552/sshd
tcp6 0 0 :::443 :::* LISTEN 572/apache2
tcp6 0 0 MY_SERVER_IPv4:443 MY-PC-IPv4:10991 ESTABLISHED 61154/apache2


Interesting thing is that using putty I successfully connected using SSH over IPv4 (without translation).



tcp 0 0 MY_SERVER_IPv4:22 MY-PC-IPv4:17085 ESTABLISHED 57796/sshd: root@no


Does anybody have an idea what can I do?










share|improve this question
















On debian 9 I have opened port 0.0.0.0:18000 using python 3, but I cannot access it from outside (target machine actively refused it). I have no firewalls.



I suspected that it might be because I'm using IPv4 and the server is in US while I'm trying to access it from EU via IPv4. But I tried IPv6 too and it's the same error message. I can normally access it via SSH over IPv4. Ports 80/443 also have normal access over IPv4 but it translates it into IPv6.



Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp6 0 0 :::18000 :::* LISTEN 701/python3
tcp6 0 0 :::22 :::* LISTEN 552/sshd
tcp6 0 0 :::443 :::* LISTEN 572/apache2
tcp6 0 0 MY_SERVER_IPv4:443 MY-PC-IPv4:10991 ESTABLISHED 61154/apache2


Interesting thing is that using putty I successfully connected using SSH over IPv4 (without translation).



tcp 0 0 MY_SERVER_IPv4:22 MY-PC-IPv4:17085 ESTABLISHED 57796/sshd: root@no


Does anybody have an idea what can I do?







debian socket






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 16 at 20:01







Boy

















asked Feb 16 at 18:02









BoyBoy

1287




1287







  • 3





    You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.

    – Kusalananda
    Feb 16 at 19:04











  • @Kusalananda Thx for the tip, I'll check with my service provider.

    – Boy
    Feb 16 at 19:05






  • 1





    I would probably start by running nmap against the target system.

    – Kusalananda
    Feb 16 at 19:07












  • 3





    You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.

    – Kusalananda
    Feb 16 at 19:04











  • @Kusalananda Thx for the tip, I'll check with my service provider.

    – Boy
    Feb 16 at 19:05






  • 1





    I would probably start by running nmap against the target system.

    – Kusalananda
    Feb 16 at 19:07







3




3





You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.

– Kusalananda
Feb 16 at 19:04





You may not have a firewall on that particular machine, but there may still be a firewall between your EU and US system that lets through SSH traffic, but blocks requests to other ports.

– Kusalananda
Feb 16 at 19:04













@Kusalananda Thx for the tip, I'll check with my service provider.

– Boy
Feb 16 at 19:05





@Kusalananda Thx for the tip, I'll check with my service provider.

– Boy
Feb 16 at 19:05




1




1





I would probably start by running nmap against the target system.

– Kusalananda
Feb 16 at 19:07





I would probably start by running nmap against the target system.

– Kusalananda
Feb 16 at 19:07










1 Answer
1






active

oldest

votes


















2














As suggested in the comments, I checked with nmap:



nmap -p 18000 MY_SERVER_IP


and got:



STATE:
filtered


So I asked for control panel access and noticed that there is Firewall Policies of which I (because I'm inexperienced) wasn't aware of.



Problem solved. Thank you.






share|improve this answer
























    Your Answer








    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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: false,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    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%2funix.stackexchange.com%2fquestions%2f501073%2fdebian-cannot-access-opened-port-in-us-from-eu%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









    2














    As suggested in the comments, I checked with nmap:



    nmap -p 18000 MY_SERVER_IP


    and got:



    STATE:
    filtered


    So I asked for control panel access and noticed that there is Firewall Policies of which I (because I'm inexperienced) wasn't aware of.



    Problem solved. Thank you.






    share|improve this answer





























      2














      As suggested in the comments, I checked with nmap:



      nmap -p 18000 MY_SERVER_IP


      and got:



      STATE:
      filtered


      So I asked for control panel access and noticed that there is Firewall Policies of which I (because I'm inexperienced) wasn't aware of.



      Problem solved. Thank you.






      share|improve this answer



























        2












        2








        2







        As suggested in the comments, I checked with nmap:



        nmap -p 18000 MY_SERVER_IP


        and got:



        STATE:
        filtered


        So I asked for control panel access and noticed that there is Firewall Policies of which I (because I'm inexperienced) wasn't aware of.



        Problem solved. Thank you.






        share|improve this answer















        As suggested in the comments, I checked with nmap:



        nmap -p 18000 MY_SERVER_IP


        and got:



        STATE:
        filtered


        So I asked for control panel access and noticed that there is Firewall Policies of which I (because I'm inexperienced) wasn't aware of.



        Problem solved. Thank you.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Feb 16 at 20:08

























        answered Feb 16 at 20:02









        BoyBoy

        1287




        1287



























            draft saved

            draft discarded
















































            Thanks for contributing an answer to Unix & Linux Stack Exchange!


            • 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%2funix.stackexchange.com%2fquestions%2f501073%2fdebian-cannot-access-opened-port-in-us-from-eu%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

            How to check contact read email or not when send email to Individual?

            Bahrain

            Postfix configuration issue with fips on centos 7; mailgun relay