MrMustafa
MrMustafa

Reputation: 305

How to browse Local host website from Browser

I make hosting for ASP.NET Website on my Local host IIS, and when I browse it by click on Browse from IIS manager it work fine,

But when I browse by write 192.168.1.106:80 in the google chrome browser, it not work It go to google search.

I want to write 192.168.1.106:80 in browser directly

Upvotes: 0

Views: 686

Answers (1)

Lei Yang
Lei Yang

Reputation: 4325

Two possible solutions:

  1. Prefix the protocol. paste the full url in the browser:
http://192.168.1.106:80

There can be multiple application on the same server(ip), so the you must tell the browser which protocol to use. In your daily use of browser you don't see http:// or https:// prefix because they are so widely used that Chrome hides it to save space in address bar. If you copy the url from Chrome, then paste in any editor, you could see the protocol prefix still there.

  1. Check typo
    I'm not very clear if you really typed 192.168.1.106:80, if you mistyped some of the characters, browser may not recognize the pattern and so go to search. for example, following two will go to search:
  • 192.168.1.106:80
  • 192.168.1.10a:80

Upvotes: 1

Related Questions