0

I am going to develop a ASP.net website for mobiles. But I found that my mobile cannot access the website during debugging the website.

How to let the VS 2010 can be accessed form my mobile during debugging website?

Mikael Engver
  • 4,634
  • 4
  • 46
  • 53
user554712
  • 211
  • 1
  • 3
  • 8
  • From localhost? Don't think that'll happen. – Doozer Blake Sep 30 '11 at 14:21
  • Can you clarify what you mean by the question? Are having trouble connecting to the web site from your mobile? Or is it only while debugging? – Conrad Frix Sep 30 '11 at 14:31
  • I believe he's asking about connecting to the debugging asp.net web server provided with VS2010 for web projects. Which should be as easy as getting on the network and connecting to (IP):(Whatever port the web server tells you it's running on). Too lazy to try though. – Dlongnecker Sep 30 '11 at 14:55
  • I mean I run a asp.net website as debug or release in VS 2010. In the localhost(running VS 2010), each browser can browse the website. But the other computers or mobiles cannot browse the website, even I disable the firewall. To test the connecting, I run an Apache server, the other computers can connect the server. – user554712 Sep 30 '11 at 15:41
  • it rings a bell that the developper/debugging website may not allow connections from somewhere else on purpose (see http://stackoverflow.com/questions/220274/remote-machines-cannot-connect-to-visual-studio-web-server). You might want to debug in IIS and then attach the VS Debugger to IIS process. – tsimbalar Sep 30 '11 at 16:30

1 Answers1

0

To be able to access it and debug it from your mobile device you have to deploy it to your local IIS on the default website. If you connect your mobile device on the same wifi/local network you should be able to browse the site from your mobile using the computers hostname.

Mikael Engver
  • 4,634
  • 4
  • 46
  • 53