When i try to access my SP 2013 site with http://localhost:portno/ i got 401 UNAUTHORIZED error Similarly, when i try to access with server name like http://servername:portno/ i got 401 UNAUTHORIZED error

But when i try to access with http://sitename:portno/ i can access my site. why is that ? What should i need to change? In host file i added: serverIP sitename

how to fix?

  • 1
    you are trying to access on server or from pc?
    – Waqas Sarwar MVP
    Jan 29 '15 at 19:40
  • Now i can access servername:portno on server but not outside server. Let me know how can i access outside server?
    – SPBeginer
    Jan 31 '15 at 15:43

Did you check the loopback settings? Can't pass authentication to browse a sharepoint site

Also, is you AAM setup to support those other urls?

  • 1
    +1 for both those cases, they were the first things that sprang to my mind as well.
    – thanby
    Sep 7 '15 at 7:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.