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


基础教程推荐
- SQL Server 2016更改对象所有者 2022-01-01
- SQL Server:只有 GROUP BY 中的最后一个条目 2021-01-01
- ERROR 2006 (HY000): MySQL 服务器已经消失 2021-01-01
- Sql Server 字符串到日期的转换 2021-01-01
- 在 VB.NET 中更新 SQL Server DateTime 列 2021-01-01
- 将数据从 MS SQL 迁移到 PostgreSQL? 2022-01-01
- 如何在 SQL Server 的嵌套过程中处理事务? 2021-01-01
- SQL Server 中单行 MERGE/upsert 的语法 2021-01-01
- 无法在 ubuntu 中启动 mysql 服务器 2021-01-01
- 使用pyodbc“不安全"的Python多处理和数据库访问? 2022-01-01