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
- 导入具有可变标题的 Excel 文件 2021-01-01
- 如何将 SonarQube 6.7 从 MySQL 迁移到 postgresql 2022-01-01
- 远程 mySQL 连接抛出“无法使用旧的不安全身份验证连接到 MySQL 4.1+"来自 XAMPP 的错误 2022-01-01
- 更改自动增量起始编号? 2021-01-01
- 在SQL中,如何为每个组选择前2行 2021-01-01
- 使用 Oracle PL/SQL developer 生成测试数据 2021-01-01
- 如何将 Byte[] 插入 SQL Server VARBINARY 列 2021-01-01
- SQL 临时表问题 2022-01-01
- 以一个值为轴心,但将一行上的数据按另一行分组? 2022-01-01
- 如何使用 pip 安装 Python MySQLdb 模块? 2021-01-01
