views:

534

answers:

3

Guys, been knocking my head against the desk (instead of the mac) for hours. I'm running VS 2008 in a parallels VM. I can access the development server in the VM if local host is used, if I use the designated ip for the VM or try to access it externally it does not work. All firewalls are off and I verified that I can access iis externally.

Any Ideas what could be wrong?

+1  A: 

The first answer is that you can't do it because the development server is specifically made to just run locally, otherwise it becomes a security risk.

The second answer is that you can get around anything, this hints that there is a way to do it using a reverse-proxy (but the post he links to seems to be dead)

James Avery
A: 

EDIT : After viewing RichardOD's answer, I fear that my answer below is wrong and you can not access it using IP.

But I suggest you to go with deploying it to IIS.

The VS2008 internal web server ( which I guess is cassini ) creates a port for your app and runs a web server for your app on that port. If you want to access it from outside the machine you have to use that port in addition to IP.

Mahin
I am using that port, it just does not work. I can swear that we used to do this with 2005.
Fallen Fate
+4  A: 

Yes, it is by design. Consider using IIS instead.

RichardOD
@RichardOD : +1
Mahin
Thanks, now I have to get ASP net working on IIS, which was looking hairier than just hitting the aps dev server port externally. Everything installed properly for IIS and ASP .Net but IIS seems to still just server static content properly.Thanks
Fallen Fate
Cool- aspnet_regiis will be useful to you.
RichardOD