<p>Im testing an ASP.NEt site. When I execute it, it starts the ASP.NET Development Server and opens up a page.</p>

<p>Now I want to test it in the intranet I have. </p>

<ol>
<li><p>Can I use this server or I need to configure IIS in this machine?  </p></li>
<li><p>Do I need to configure something for it to work?</p></li>
</ol>

<p>I've changed the localhost to the correct IP and I opened up the firewall.</p>

<p>Thanks</p>

[{'answer_id': 18919, 'author': 'Jason', 'author_id': 1338, 'author_profile': 'https://Stackoverflow.com/users/1338', 'pm_score': 1, 'selected': False, 'text': "<p>I believe the built in ASP.NET server only works on localhost.  You'll have to use IIS.</p>\n"}, {'answer_id': 18925, 'author': 'Jon Galloway', 'author_id': 5, 'author_profile': 'https://Stackoverflow.com/users/5', 'pm_score': 4, 'selected': False, 'text': "<p>No, you can't. It's set up so it only works on localhost, and I couldn't find any workarounds to make it work.</p>\n\n<p>But, here's what I've been doing - I created the website on a specific port in IIS and opened that port up so it's visible on the network. I pointed that IIS website to my website's root folder (the one with web.config in it). Then I continued to use the ASP.NET Development server on that local machine while developing - both IIS and the ASP.NET Development Server can access the files at the same time (unless you're doing something wacky).</p>\n\n<p>Let me know if there's a challenge with running IIS on your machine and I'll update my answer.</p>\n"}, {'answer_id': 18939, 'author': 'Mark Brackett', 'author_id': 2199, 'author_profile': 'https://Stackoverflow.com/users/2199', 'pm_score': 2, 'selected': False, 'text': '<p>You can recompile Cassini to get it to work - there\'s a fairly easy to remove check for localhost in there. Or, I\'m pretty sure <a href="http://www.ultidev.com/products/Cassini/" rel="nofollow noreferrer">Ultidev\'s Cassini</a> doesn\'t have this restriction. Both of these are easier to setup than IIS.</p>\n\n<p>But, yeah, the builtin WebDev.WebServer doesn\'t work....Hmm, unless you run something like <a href="http://www.analogx.com/contents/download/network/proxy.htm" rel="nofollow noreferrer">AnalogX\'s Proxy</a> on your dev box and point it to the WebDev port. That should work (though I haven\'t tried it, it should take &lt; 2 mins to setup).</p>\n'}, {'answer_id': 3283913, 'author': 'Pete Hodgson', 'author_id': 53529, 'author_profile': 'https://Stackoverflow.com/users/53529', 'pm_score': 3, 'selected': False, 'text': '<p>I realize this isn\'t a direct answer to your question, but an alternative to debugging using the ASP development server is to attach to the IIS process: <a href="https://stackoverflow.com/questions/210250/how-do-i-attach-the-debugger-to-iis-instead-of-asp-net-development-server">How do I attach the debugger to IIS instead of ASP.NET Development Server?</a></p>\n'}, {'answer_id': 3404898, 'author': 'Jez', 'author_id': 178757, 'author_profile': 'https://Stackoverflow.com/users/178757', 'pm_score': 3, 'selected': False, 'text': '<p>Nope, stupidly (IMHO) there\'s no way to get the default ASP.net development server to serve pages to IPs other than localhost.  What I did was to use <a href="http://www.ultidev.com/products/Cassini/" rel="noreferrer">UltiDev Cassini</a> which is very quick to set up and is basically a version of the ASP.net development server compiled by UltiDev, and it will serve pages to any IP address.</p>\n'}, {'answer_id': 5812758, 'author': 'koush', 'author_id': 704837, 'author_profile': 'https://Stackoverflow.com/users/704837', 'pm_score': 2, 'selected': False, 'text': '<p>You can use Cassini to expose your web apps externally. You just need to proxy the connection. I wrote a simple program to do this that you can run in another VS instance. Just change the port to match the port Cassini is using.</p>\n\n<p><a href="https://gist.github.com/945649" rel="nofollow">https://gist.github.com/945649</a></p>\n'}, {'answer_id': 6152011, 'author': 'Sebastien GISSINGER', 'author_id': 606648, 'author_profile': 'https://Stackoverflow.com/users/606648', 'pm_score': 2, 'selected': False, 'text': '<p>You can do port redirection using <a href="http://www.microsoft.com/downloads/en/details.aspx?FamilyID=c943c0dd-ceec-4088-9753-86f052ec8450" rel="nofollow">SOAP Toolkit 3.0</a></p>\n\n<p>Once installed, go to My Programs > Microsoft Soap Toolkit 3 > Trace Utility</p>\n\n<p>Once Trace Utility opened, go to File > New > Formatted Trace</p>\n\n<p>In the dialog insert your ASP .NET Development Server port in Forward To Destination Port field.</p>\n\n<p>It\'s only a workaround for testing purposes</p>\n'}, {'answer_id': 7394935, 'author': 'strongriley', 'author_id': 561956, 'author_profile': 'https://Stackoverflow.com/users/561956', 'pm_score': 7, 'selected': True, 'text': '<p><strong>Yes you can!  And you don\'t need IIS</strong></p>\n\n<p>Just use a simple Java TCP tunnel. Download this Java app &amp; just tunnel the traffic back.\n<a href="http://jcbserver.uwaterloo.ca/cs436/software/tgui/tcpTunnelGUI.shtml" rel="nofollow noreferrer">http://jcbserver.uwaterloo.ca/cs436/software/tgui/tcpTunnelGUI.shtml</a></p>\n\n<p>In command prompt, you\'d then run the java app like this... Let\'s assume you want external access on port 80 and your standard debug environment runs on port 1088...</p>\n\n<pre><code>java -jar tunnel.jar 80 localhost 1088\n</code></pre>\n\n<p>(Also answered here: <a href="https://stackoverflow.com/questions/1555058/accessing-asp-net-development-server-external-to-vm/7394823#7394823">Accessing asp. net development server external to VM</a>)</p>\n'}, {'answer_id': 10656521, 'author': 'gvelasquez85', 'author_id': 1403861, 'author_profile': 'https://Stackoverflow.com/users/1403861', 'pm_score': 1, 'selected': False, 'text': '<p>Compile all you website in Debug mode, then create the website and publish it in IIS (make sure you can view it from other machine). Then attach the VS2010 Debugger to the process with the AppPool of your website (the process is called w3wp.exe when IIS>v5 and aspnet_wp.exe when IIS&lt;5).</p>\n\n<p>If you make some changes, just replace the package contents on the physical path of the website, and there you go again.</p>\n'}, {'answer_id': 12008223, 'author': 'deive', 'author_id': 1552178, 'author_profile': 'https://Stackoverflow.com/users/1552178', 'pm_score': 2, 'selected': False, 'text': "<p>Just for those who don't want/cant set up IIS for whatever reason...</p>\n\n<p>Use fiddler or similar on your host - set your browser on the client VM to use the proxy then just use localhost:dev_port as usual on the client.</p>\n\n<p>All requests from the client goto the proxy on your dev machine which routes to localhost on the dev machine and the ASP.net dev server thinks the request is from your dev machine!</p>\n"}]
['https://Stackoverflow.com/questions/18918', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/1013/']