Why can't I access website on local machine using its internal/private IP?












0















I'm running a web app on port 8000 on my Mac. My mac's internal IP is 192.168.0.6. I can reach this web app using localhost:8000 and 192.168.0.6:8000



If I set up port forwarding on my router, forwarding all requests on port 80 to port 8000 on my Mac (192.168.0.6:8000), I can still reach the website using my public IP.



However, if I try to reach the website using my mac's internal IP on port 8000 (192.168.0.6:8000) from another computer on my local network (another Mac or iPad), I don't see the desired result and eventually the connection just times out.



I have an arris router at home.



What could be the issue here?










share|improve this question

























  • Are you connecting to port :80 or port :8000 in the latter case?

    – grawity
    Jan 13 at 20:40











  • @grawity port 8000 when trying to hit it with the internal IP

    – Ayush
    Jan 13 at 20:43











  • How are your firewalls configured, on the host running the web-site, and on the client trying to access it?

    – AFH
    Jan 13 at 20:44













  • @AFH both client and host are Macbook Pros with the firewall disabled. Also I'm able to hit the website using my public and port-forwarding, so I doubt its a problem with the firewall settings on the Macs.

    – Ayush
    Jan 13 at 20:47











  • If it's not either of the firewalls, then it may be the web-site hosting software configuration. Can you use loop-back (ie use the public IP from within your intranet)? If so, then you may need to use WireShark (or a Mac equivalent) to compare the traffic between using the public and local IPs.

    – AFH
    Jan 13 at 21:10


















0















I'm running a web app on port 8000 on my Mac. My mac's internal IP is 192.168.0.6. I can reach this web app using localhost:8000 and 192.168.0.6:8000



If I set up port forwarding on my router, forwarding all requests on port 80 to port 8000 on my Mac (192.168.0.6:8000), I can still reach the website using my public IP.



However, if I try to reach the website using my mac's internal IP on port 8000 (192.168.0.6:8000) from another computer on my local network (another Mac or iPad), I don't see the desired result and eventually the connection just times out.



I have an arris router at home.



What could be the issue here?










share|improve this question

























  • Are you connecting to port :80 or port :8000 in the latter case?

    – grawity
    Jan 13 at 20:40











  • @grawity port 8000 when trying to hit it with the internal IP

    – Ayush
    Jan 13 at 20:43











  • How are your firewalls configured, on the host running the web-site, and on the client trying to access it?

    – AFH
    Jan 13 at 20:44













  • @AFH both client and host are Macbook Pros with the firewall disabled. Also I'm able to hit the website using my public and port-forwarding, so I doubt its a problem with the firewall settings on the Macs.

    – Ayush
    Jan 13 at 20:47











  • If it's not either of the firewalls, then it may be the web-site hosting software configuration. Can you use loop-back (ie use the public IP from within your intranet)? If so, then you may need to use WireShark (or a Mac equivalent) to compare the traffic between using the public and local IPs.

    – AFH
    Jan 13 at 21:10
















0












0








0








I'm running a web app on port 8000 on my Mac. My mac's internal IP is 192.168.0.6. I can reach this web app using localhost:8000 and 192.168.0.6:8000



If I set up port forwarding on my router, forwarding all requests on port 80 to port 8000 on my Mac (192.168.0.6:8000), I can still reach the website using my public IP.



However, if I try to reach the website using my mac's internal IP on port 8000 (192.168.0.6:8000) from another computer on my local network (another Mac or iPad), I don't see the desired result and eventually the connection just times out.



I have an arris router at home.



What could be the issue here?










share|improve this question
















I'm running a web app on port 8000 on my Mac. My mac's internal IP is 192.168.0.6. I can reach this web app using localhost:8000 and 192.168.0.6:8000



If I set up port forwarding on my router, forwarding all requests on port 80 to port 8000 on my Mac (192.168.0.6:8000), I can still reach the website using my public IP.



However, if I try to reach the website using my mac's internal IP on port 8000 (192.168.0.6:8000) from another computer on my local network (another Mac or iPad), I don't see the desired result and eventually the connection just times out.



I have an arris router at home.



What could be the issue here?







networking wireless-networking router routing port-forwarding






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 13 at 20:45







Ayush

















asked Jan 13 at 20:32









AyushAyush

1011




1011













  • Are you connecting to port :80 or port :8000 in the latter case?

    – grawity
    Jan 13 at 20:40











  • @grawity port 8000 when trying to hit it with the internal IP

    – Ayush
    Jan 13 at 20:43











  • How are your firewalls configured, on the host running the web-site, and on the client trying to access it?

    – AFH
    Jan 13 at 20:44













  • @AFH both client and host are Macbook Pros with the firewall disabled. Also I'm able to hit the website using my public and port-forwarding, so I doubt its a problem with the firewall settings on the Macs.

    – Ayush
    Jan 13 at 20:47











  • If it's not either of the firewalls, then it may be the web-site hosting software configuration. Can you use loop-back (ie use the public IP from within your intranet)? If so, then you may need to use WireShark (or a Mac equivalent) to compare the traffic between using the public and local IPs.

    – AFH
    Jan 13 at 21:10





















  • Are you connecting to port :80 or port :8000 in the latter case?

    – grawity
    Jan 13 at 20:40











  • @grawity port 8000 when trying to hit it with the internal IP

    – Ayush
    Jan 13 at 20:43











  • How are your firewalls configured, on the host running the web-site, and on the client trying to access it?

    – AFH
    Jan 13 at 20:44













  • @AFH both client and host are Macbook Pros with the firewall disabled. Also I'm able to hit the website using my public and port-forwarding, so I doubt its a problem with the firewall settings on the Macs.

    – Ayush
    Jan 13 at 20:47











  • If it's not either of the firewalls, then it may be the web-site hosting software configuration. Can you use loop-back (ie use the public IP from within your intranet)? If so, then you may need to use WireShark (or a Mac equivalent) to compare the traffic between using the public and local IPs.

    – AFH
    Jan 13 at 21:10



















Are you connecting to port :80 or port :8000 in the latter case?

– grawity
Jan 13 at 20:40





Are you connecting to port :80 or port :8000 in the latter case?

– grawity
Jan 13 at 20:40













@grawity port 8000 when trying to hit it with the internal IP

– Ayush
Jan 13 at 20:43





@grawity port 8000 when trying to hit it with the internal IP

– Ayush
Jan 13 at 20:43













How are your firewalls configured, on the host running the web-site, and on the client trying to access it?

– AFH
Jan 13 at 20:44







How are your firewalls configured, on the host running the web-site, and on the client trying to access it?

– AFH
Jan 13 at 20:44















@AFH both client and host are Macbook Pros with the firewall disabled. Also I'm able to hit the website using my public and port-forwarding, so I doubt its a problem with the firewall settings on the Macs.

– Ayush
Jan 13 at 20:47





@AFH both client and host are Macbook Pros with the firewall disabled. Also I'm able to hit the website using my public and port-forwarding, so I doubt its a problem with the firewall settings on the Macs.

– Ayush
Jan 13 at 20:47













If it's not either of the firewalls, then it may be the web-site hosting software configuration. Can you use loop-back (ie use the public IP from within your intranet)? If so, then you may need to use WireShark (or a Mac equivalent) to compare the traffic between using the public and local IPs.

– AFH
Jan 13 at 21:10







If it's not either of the firewalls, then it may be the web-site hosting software configuration. Can you use loop-back (ie use the public IP from within your intranet)? If so, then you may need to use WireShark (or a Mac equivalent) to compare the traffic between using the public and local IPs.

– AFH
Jan 13 at 21:10












1 Answer
1






active

oldest

votes


















0














I restarted my router and it is working fine (as expected) now.






share|improve this answer























    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',
    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/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%2f1393886%2fwhy-cant-i-access-website-on-local-machine-using-its-internal-private-ip%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









    0














    I restarted my router and it is working fine (as expected) now.






    share|improve this answer




























      0














      I restarted my router and it is working fine (as expected) now.






      share|improve this answer


























        0












        0








        0







        I restarted my router and it is working fine (as expected) now.






        share|improve this answer













        I restarted my router and it is working fine (as expected) now.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Jan 14 at 0:54









        AyushAyush

        1011




        1011






























            draft saved

            draft discarded




















































            Thanks for contributing an answer to Super User!


            • 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%2fsuperuser.com%2fquestions%2f1393886%2fwhy-cant-i-access-website-on-local-machine-using-its-internal-private-ip%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

            Plaza Victoria

            In PowerPoint, is there a keyboard shortcut for bulleted / numbered list?

            How to put 3 figures in Latex with 2 figures side by side and 1 below these side by side images but in...