<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>HTTP 400 Archives : Binary Bits</title>
	<atom:link href="https://blog.binarybits.net/tag/http-400/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.binarybits.net/tag/http-400/</link>
	<description>Bits &#38; Pieces - A blog by Kannan Balasubramanian</description>
	<lastBuildDate>Mon, 03 May 2021 10:50:10 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>IIS Express &#8211; HTTP Error 400. The request hostname is invalid.</title>
		<link>https://blog.binarybits.net/iis-express-http-error-400-the-request-hostname-is-invalid/</link>
					<comments>https://blog.binarybits.net/iis-express-http-error-400-the-request-hostname-is-invalid/#comments</comments>
		
		<dc:creator><![CDATA[Kannan]]></dc:creator>
		<pubDate>Sat, 02 Nov 2013 11:49:22 +0000</pubDate>
				<category><![CDATA[Applications]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[400]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[HTTP 400]]></category>
		<category><![CDATA[IIS Express]]></category>
		<category><![CDATA[invalid]]></category>
		<guid isPermaLink="false">https://blog.binarybits.net/?p=576</guid>

					<description><![CDATA[<p>The following is the fix for the error &#8220;HTTP Error 400. The request hostname is invalid&#8221; when trying to browse an IIS Express site using a different host name or IP address. 1. Exit the IIS Express instant currently running. 2. Open IIS Express&#8217;s applicationhost.config located at the following path C:\Users\&#60;user&#62;\Documents\IISExpress\config\applicationhost.config 3. Find the entry [&#8230;]</p>
<p>The post <a href="https://blog.binarybits.net/iis-express-http-error-400-the-request-hostname-is-invalid/">IIS Express &#8211; HTTP Error 400. The request hostname is invalid.</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>The following is the fix for the error &#8220;HTTP Error 400. The request hostname is invalid&#8221; when trying to browse an IIS Express site using a different host name or IP address.</p>
<p>1. Exit the IIS Express instant currently running.</p>
<p>2. Open IIS Express&#8217;s <em>applicationhost.config</em> located at the following path C:\Users\<em>&lt;user&gt;</em>\Documents\IISExpress\config\applicationhost.config</p>
<p>3. Find the entry for a particular site (e.g &#8220;<em>Test</em>&#8221; running in port <em>6306</em>) which you are developing.</p>
<p>e.g.</p>
<pre class="lang:xhtml decode:true crayon-selected">&lt;site name="FlickrTest" id="10"&gt;
    &lt;application path="/" applicationPool="Clr4IntegratedAppPool"&gt;
        &lt;virtualDirectory path="/" physicalPath="E:\Projects\BB Apps\FlickrTest" /&gt;
    &lt;/application&gt;
    &lt;bindings&gt;
        &lt;binding protocol="http" bindingInformation="*:6306:localhost" /&gt;
    &lt;/bindings&gt;
&lt;/site&gt;</pre>
<p>4. Replace the following</p>
<p>bindingInformation=&#8221;*:6306:<em><strong>localhost</strong></em>&#8221; with bindingInformation=&#8221;*:6306:<em><strong>*</strong></em>&#8221;</p>
<p>5. Save the file.</p>
<p>6. Start a command prompt in administrator mode and run the following command.</p>
<pre class="lang:batch decode:true">netsh http add urlacl url=http://*:6306/ user=Everyone</pre>
<p>7. Now debug the site again and you should be able to access the url using IP address or host name.</p>
<p>The post <a href="https://blog.binarybits.net/iis-express-http-error-400-the-request-hostname-is-invalid/">IIS Express &#8211; HTTP Error 400. The request hostname is invalid.</a> appeared first on <a href="https://blog.binarybits.net">Binary Bits</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.binarybits.net/iis-express-http-error-400-the-request-hostname-is-invalid/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Minified using Disk

Served from: blog.binarybits.net @ 2026-04-22 10:43:40 by W3 Total Cache
-->