How to use SQL server from a different network(如何使用来自不同网络的 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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!
本文标题为:如何使用来自不同网络的 SQL Server


基础教程推荐
- 从字符串 TSQL 中获取数字 2021-01-01
- 使用 VBS 和注册表来确定安装了哪个版本和 32 位 2021-01-01
- 如何在 CakePHP 3 中实现 INSERT ON DUPLICATE KEY UPDATE aka upsert? 2021-01-01
- while 在触发器内循环以遍历 sql 中表的所有列 2022-01-01
- 带更新的 sqlite CTE 2022-01-01
- 带有WHERE子句的LAG()函数 2022-01-01
- ORA-01830:日期格式图片在转换整个输入字符串之前结束/选择日期查询的总和 2021-01-01
- MySQL 5.7参照时间戳生成日期列 2022-01-01
- CHECKSUM 和 CHECKSUM_AGG:算法是什么? 2021-01-01
- MySQL根据从其他列分组的值,对两列之间的值进行求和 2022-01-01