[英]Can I connect my website to my personal computer SQL Server database?
I already have an website on godaddy, So can I connect SQL Server database (Database is in my home PC) from website which is already launched in godaddy. 我已经在godaddy上拥有一个网站,因此我可以从在godaddy中启动的网站连接SQL Server数据库(数据库在我的家用PC中)。 I did my website using Asp.net.
我使用Asp.net建立了我的网站。
If can, what are all the things I should give importance? 如果可以的话,我应该重视什么?
Note: My database is not huge. 注意:我的数据库不是很大。
Please help me. 请帮我。
Technically speaking yes you can, should you..unless your home computer is a server, no. 从技术上讲是可以的,除非您的家用计算机是服务器,否则。 You would have to ensure that you have a static IP address and allow 1433 through your firewall.
您必须确保您具有静态IP地址,并允许1433通过防火墙。 honestly its not that costly to get a cloud sqlserver and hook to that, discountasp.net has really good service.
老实说,获得云sqlserver并花费不那么多,Discountasp.net确实提供了很好的服务。
Technically you can do it. 从技术上讲,您可以做到。 I assume you want to know how to connect to it.
我假设您想知道如何连接它。
This should work. 这应该工作。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.