如何使用来自不同网络的 SQL Server [英] How to use SQL server from a different network

查看:40
本文介绍了如何使用来自不同网络的 SQL Server的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我家里有一个 SQL 服务器,在同一个网络中一切正常.

I have a SQL server running in my home, and everything in the same network works fine.

我希望家里的计算机运行 SQL Server,并使用 VB.NET 应用程序从学校连接到它.

I would like for my computer at home to be running the SQL Server, and with a VB.NET application connect to it from school.

有什么办法吗?谢谢.

推荐答案

唯一的办法就是把你家的comp发布到互联网上的真实IP.所以你需要从你的提供商那里得到真实的 IP 地址,端口映射为 1433 到你的家用电脑.不要忘记为 sa 帐户创建强密码.您还需要使用 SQL proto 从学校访问互联网.在许多情况下,在公共网络中只启用了 http/https.

The only way is to publish you home comp to the Internet real IP. so you need real IP address from your provider with port map 1433 to your home computer. don't forget to create strong password for sa account. also you need access from school to internet with SQL proto. In many cases in public networks only http/https is enabled.

这篇关于如何使用来自不同网络的 SQL Server的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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