Answered by:
Bad Request - Invalid Hostname (400)

Question
-
Hello Experts,
I am unable to access SharePoint site through IP address, even after adding bindings, AAMs.
Can someone please help me here
MercuryMan
Wednesday, February 15, 2017 12:15 PM
Answers
-
All,
My issue has been resolved successfully after stopping "Request Machine" service from central administration. I tried accessing the site with IP address it was successful. I have referred below blogs to resolve issue.
http://amolmeshe.blogspot.com/2013/05/sharepoint-2013-request-management.html
http://www.akspug.org/Blog/Post/4/Request-Management-and-Error-8316
MercuryMan
- Proposed as answer by Lisa Chen1226Microsoft contingent staff Wednesday, March 1, 2017 9:34 AM
- Marked as answer by Sjoukje ZaalMVP Thursday, March 16, 2017 9:48 AM
Monday, February 20, 2017 8:25 AM
All replies
-
Hi
so for my understanding , you can access it using FQDN?
please provide more details how you access it using FQDN and which is the address using IP
Romeo Donca, Orange Romania (MCSE, MCITP, CCNA) Please Mark As Answer if my post solves your problem or Vote As Helpful if the post has been helpful for you.
Wednesday, February 15, 2017 12:58 PM -
Hi MercuryMan,
Try to ping the server IP ensure DNS is configured correctly.
Refer to the following article to configure SharePoint alternate access by IP address:
http://techblurt.com/2011/03/24/sharepoint-alternate-access-by-ip-address/
Here are similar issue posts for your reference:
https://social.technet.microsoft.com/Forums/office/en-US/d739fa87-e6dc-47f3-a85e-5a92d2027434/bad-request-invalid-hostname-error-on-sharepoint-2013-portal-access-through-external-live-ip?forum=sharepointadmin
Best Regards,
Lisa Chen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comThursday, February 16, 2017 8:21 AM -
I have added a host entry under with IP address and xyz.com. when I try accessing it pop's up.
I have also added binding with ip address to web application but still it gives the above error. Actually it was working with IP address too but from last 3days it started giving "Bad Request - Invalid Hostname (400)" error.
MercuryMan
Thursday, February 16, 2017 8:56 AM -
All,
My issue has been resolved successfully after stopping "Request Machine" service from central administration. I tried accessing the site with IP address it was successful. I have referred below blogs to resolve issue.
http://amolmeshe.blogspot.com/2013/05/sharepoint-2013-request-management.html
http://www.akspug.org/Blog/Post/4/Request-Management-and-Error-8316
MercuryMan
- Proposed as answer by Lisa Chen1226Microsoft contingent staff Wednesday, March 1, 2017 9:34 AM
- Marked as answer by Sjoukje ZaalMVP Thursday, March 16, 2017 9:48 AM
Monday, February 20, 2017 8:25 AM -
Hi MercuryMan,
I am glad to hear that the issue is solved.
Please remember to mark your reply as answer. it will benefit many other users.
Have a nice day!
Best Regards,
Lisa Chen
Please remember to mark the replies as answers if they help.
If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.comMonday, February 20, 2017 8:43 AM