Доступ к Серверу разработки ASP.NET от другого ПК в сети

Python, один лайнер:

немного более чистый, чем другой ответ Python. Это и предыдущий ответ, перестанут работать, если вход будет меньше чем 1.

факт определения (n): возврат уменьшает (интервал mul, xrange (2, n))

25
задан skaffman 13 November 2009 в 16:38
поделиться

2 ответа

I'm making some guesses about your setup here so bear with:

If your virtual machine is XP Professional, Vista Business, Windows 7 Professional or better, then you should be able to run IIS locally on the development machine and access that webserver from another machine which is on the same network via the virtual machine's name.

Likewise, if you're doing development on a real machine and would like to use different virtual machines to access the web application, you should make sure that you have IIS installed, create a new website in IIS and you should be to browse to the web application via machine name from your virtual machines.

Either way, don't try to use the builtin web server from Visual Studio, just publish your site to IIS and work with it that way.

Good luck and hope this helps some.

12
ответ дан 28 November 2019 в 18:27
поделиться

Откройте командную строку и введите; "ipconfig" даст вам IP-адрес вашей машины.

Если вы отключите брандмауэр (по крайней мере, для порта asp.net dev), вы сможете ввести текст в браузере виртуального ПК http: //192.168 .1.3: 3243 / default.aspx

-4
ответ дан 28 November 2019 в 18:27
поделиться
Другие вопросы по тегам:

Похожие вопросы: