远程在本地PC上运行Asp.net [英] Run Asp.net on local pc remotely

查看:74
本文介绍了远程在本地PC上运行Asp.net的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Friends,



我有asp.net项目,我想使用IP地址在另一台计算机上运行相同的项目,因为我有本地网络。我把文件夹放在C:\inetpub \ www.root中,但它无法正常工作。请告诉我需要做些什么,所以我可以在另一台电脑上运行相同的项目。



提前付款

Parveen Rathi

Hello Friends,

I have asp.net project, I want to run the same project on another computer using IP Address, as I have local network. I put the folder in C:\inetpub\wwwroot but it is not working. Please tell what I have to need to do extra, so I can run the same project on another pc.

Thanks in Advance
Parveen Rathi

推荐答案

您必须首先将其部署在wwwroot中的文件夹中试试这个
you have to deploy it first what ever your folder in wwwroot or not try this


- >无论您在何处存储应用程序,您都必须在IIS中拥有您网站的虚拟目录。

- >首先在2台PC之间建立LAN连接,并将它们配置为在它们之间共享文件。

- >如果您使用的是DATABASE Server,请将其配置为在远程PC中访问。

- >将您的数据库连接添加到防火墙例外。

- >如果以上所有内容都成功,请转到网页浏览器输入http:// [服务器电脑名称] / [虚拟目录名称],您将能够浏览网站。
-> No matter where you are storing the application, you must have Virtual Directory of your website in IIS.
-> First setup LAN connection between 2 PC , and configure them to share file between them.
-> If you are using DATABASE Server configure it to access in remote PC.
-> Add your database connection to your firewall exception.
-> If all above things are successful go to web browser type http://[Server pc name]/[virtual directory name] you will be able to browse the website .


这篇关于远程在本地PC上运行Asp.net的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆