Deployed Application runs on localhost but fails with a HostName/IP The 2019 Stack Overflow...

How to pronounce 1ターン?

Match Roman Numerals

How did passengers keep warm on sail ships?

Python - Fishing Simulator

Why can't devices on different VLANs, but on the same subnet, communicate?

Can the prologue be the backstory of your main character?

Am I ethically obligated to go into work on an off day if the reason is sudden?

How does ice melt when immersed in water?

Road tyres vs "Street" tyres for charity ride on MTB Tandem

Is it ethical to upload a automatically generated paper to a non peer-reviewed site as part of a larger research?

Who or what is the being for whom Being is a question for Heidegger?

Can the DM override racial traits?

Make it rain characters

Segmentation fault output is suppressed when piping stdin into a function. Why?

How do you keep chess fun when your opponent constantly beats you?

How do I add random spotting to the same face in cycles?

Take groceries in checked luggage

ELI5: Why do they say that Israel would have been the fourth country to land a spacecraft on the Moon and why do they call it low cost?

What is this lever in Argentinian toilets?

What aspect of planet Earth must be changed to prevent the industrial revolution?

how can a perfect fourth interval be considered either consonant or dissonant?

Is there a writing software that you can sort scenes like slides in PowerPoint?

How to politely respond to generic emails requesting a PhD/job in my lab? Without wasting too much time

Does Parliament hold absolute power in the UK?



Deployed Application runs on localhost but fails with a HostName/IP



The 2019 Stack Overflow Developer Survey Results Are In
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Come Celebrate our 10 Year Anniversary!IIS displaying page differently when localhost is used in URL vs. hostnameasp.net mvc 2 web application inside a Web site?IIS asks for login/pass when accessed using hostname but not when 'localhost' is used. Why?Receiving “The page cannot be dispayed” error in browser when viewing IIS web siteIIS 7 my site works using localhost but using 127.0.0.1 or my IP 192.168.1.66 failsConfigure IIS to return 404 for directory browse attemptsC#/asp.net application runs fine on localhost (intranet), but not on server (Internet)IIS Default homepage through localhost but not IP AddressBrowse from Internet to asp.net web app on Windows server IIS on new AWS EC2 VM gets WINDOWS 2016 SERVER “error 403 Access is denied”Web Service (asmx page) does not display content on deployed on IIS using ip address





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ height:90px;width:728px;box-sizing:border-box;
}







0















I have deployed an ASP.NET (Webforms-C#) Application on IIS 8.5 (Windows Server 2012 R2). When I bind it to 80 port, it works fine as 'localhost' but when I assign a HostName or IP address, I can no longer access the site. 'This Page cannot be displayed' error shows up when accessing the site.



I checked similar questions but they didn't help me with the issue.



Edit: Through IIS, when I 'Browse' my site, it works on localhost but not with HostName. I looked through similar questions and some suggestions were to check the Firewall, but I think Firewall comes second as that is for the remote access, right now my problem is that it can't even be viewed on it's own server where it's deployed.



Edit 2: It seems I can access the site remotely using the IP address of the server (it will use localhost) but still no luck with the HostName and user assigned IP.










share|improve this question














bumped to the homepage by Community 6 mins ago


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






migrated from stackoverflow.com Mar 15 '15 at 21:56


This question came from our site for professional and enthusiast programmers.

























    0















    I have deployed an ASP.NET (Webforms-C#) Application on IIS 8.5 (Windows Server 2012 R2). When I bind it to 80 port, it works fine as 'localhost' but when I assign a HostName or IP address, I can no longer access the site. 'This Page cannot be displayed' error shows up when accessing the site.



    I checked similar questions but they didn't help me with the issue.



    Edit: Through IIS, when I 'Browse' my site, it works on localhost but not with HostName. I looked through similar questions and some suggestions were to check the Firewall, but I think Firewall comes second as that is for the remote access, right now my problem is that it can't even be viewed on it's own server where it's deployed.



    Edit 2: It seems I can access the site remotely using the IP address of the server (it will use localhost) but still no luck with the HostName and user assigned IP.










    share|improve this question














    bumped to the homepage by Community 6 mins ago


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






    migrated from stackoverflow.com Mar 15 '15 at 21:56


    This question came from our site for professional and enthusiast programmers.





















      0












      0








      0








      I have deployed an ASP.NET (Webforms-C#) Application on IIS 8.5 (Windows Server 2012 R2). When I bind it to 80 port, it works fine as 'localhost' but when I assign a HostName or IP address, I can no longer access the site. 'This Page cannot be displayed' error shows up when accessing the site.



      I checked similar questions but they didn't help me with the issue.



      Edit: Through IIS, when I 'Browse' my site, it works on localhost but not with HostName. I looked through similar questions and some suggestions were to check the Firewall, but I think Firewall comes second as that is for the remote access, right now my problem is that it can't even be viewed on it's own server where it's deployed.



      Edit 2: It seems I can access the site remotely using the IP address of the server (it will use localhost) but still no luck with the HostName and user assigned IP.










      share|improve this question














      I have deployed an ASP.NET (Webforms-C#) Application on IIS 8.5 (Windows Server 2012 R2). When I bind it to 80 port, it works fine as 'localhost' but when I assign a HostName or IP address, I can no longer access the site. 'This Page cannot be displayed' error shows up when accessing the site.



      I checked similar questions but they didn't help me with the issue.



      Edit: Through IIS, when I 'Browse' my site, it works on localhost but not with HostName. I looked through similar questions and some suggestions were to check the Firewall, but I think Firewall comes second as that is for the remote access, right now my problem is that it can't even be viewed on it's own server where it's deployed.



      Edit 2: It seems I can access the site remotely using the IP address of the server (it will use localhost) but still no luck with the HostName and user assigned IP.







      asp.net iis






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 13 '15 at 6:00







      Sorrel Vesper












      bumped to the homepage by Community 6 mins 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 6 mins ago


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






      migrated from stackoverflow.com Mar 15 '15 at 21:56


      This question came from our site for professional and enthusiast programmers.









      migrated from stackoverflow.com Mar 15 '15 at 21:56


      This question came from our site for professional and enthusiast programmers.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          Few things to check:




          1. Bindings
            Check your iis site bindings and if needed create additional binding with host name and ip address. if there are other sites then try a different port number [8080, or 8081 etc]


          2. Host file Run notepad as an Admin then browse and open C:windowssystem32driversetchosts



          Create a new entry with as below with the following format



          "local ip/machine ip" Hostname
          192.168.100.200 WINWEBDEV


          note: you may want to add this host entry on the host and machine you are trying to reach the site from




          1. Ports, Windows firewall, Antivirus, Event log,


          Or just open a browser press F12 on chrome or IE to see a bit more detail about the issue Hope this helps






          share|improve this answer
























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "2"
            };
            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%2fserverfault.com%2fquestions%2f675690%2fdeployed-application-runs-on-localhost-but-fails-with-a-hostname-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














            Few things to check:




            1. Bindings
              Check your iis site bindings and if needed create additional binding with host name and ip address. if there are other sites then try a different port number [8080, or 8081 etc]


            2. Host file Run notepad as an Admin then browse and open C:windowssystem32driversetchosts



            Create a new entry with as below with the following format



            "local ip/machine ip" Hostname
            192.168.100.200 WINWEBDEV


            note: you may want to add this host entry on the host and machine you are trying to reach the site from




            1. Ports, Windows firewall, Antivirus, Event log,


            Or just open a browser press F12 on chrome or IE to see a bit more detail about the issue Hope this helps






            share|improve this answer




























              0














              Few things to check:




              1. Bindings
                Check your iis site bindings and if needed create additional binding with host name and ip address. if there are other sites then try a different port number [8080, or 8081 etc]


              2. Host file Run notepad as an Admin then browse and open C:windowssystem32driversetchosts



              Create a new entry with as below with the following format



              "local ip/machine ip" Hostname
              192.168.100.200 WINWEBDEV


              note: you may want to add this host entry on the host and machine you are trying to reach the site from




              1. Ports, Windows firewall, Antivirus, Event log,


              Or just open a browser press F12 on chrome or IE to see a bit more detail about the issue Hope this helps






              share|improve this answer


























                0












                0








                0







                Few things to check:




                1. Bindings
                  Check your iis site bindings and if needed create additional binding with host name and ip address. if there are other sites then try a different port number [8080, or 8081 etc]


                2. Host file Run notepad as an Admin then browse and open C:windowssystem32driversetchosts



                Create a new entry with as below with the following format



                "local ip/machine ip" Hostname
                192.168.100.200 WINWEBDEV


                note: you may want to add this host entry on the host and machine you are trying to reach the site from




                1. Ports, Windows firewall, Antivirus, Event log,


                Or just open a browser press F12 on chrome or IE to see a bit more detail about the issue Hope this helps






                share|improve this answer













                Few things to check:




                1. Bindings
                  Check your iis site bindings and if needed create additional binding with host name and ip address. if there are other sites then try a different port number [8080, or 8081 etc]


                2. Host file Run notepad as an Admin then browse and open C:windowssystem32driversetchosts



                Create a new entry with as below with the following format



                "local ip/machine ip" Hostname
                192.168.100.200 WINWEBDEV


                note: you may want to add this host entry on the host and machine you are trying to reach the site from




                1. Ports, Windows firewall, Antivirus, Event log,


                Or just open a browser press F12 on chrome or IE to see a bit more detail about the issue Hope this helps







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Mar 17 '15 at 3:45









                zmanzman

                558413




                558413






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Server Fault!


                    • 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%2fserverfault.com%2fquestions%2f675690%2fdeployed-application-runs-on-localhost-but-fails-with-a-hostname-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

                    As a Security Precaution, the user account has been locked The Next CEO of Stack OverflowMS...

                    Список ссавців Італії Природоохоронні статуси | Список |...

                    Українські прізвища Зміст Історичні відомості |...