0

How can I determine the port that is being used when I publish an SSDT project from Visual Studio 2013?

I need to know the port to troubleshoot an access issue. I looked at the Advanced Properties for the connection, but I couldn't find that information.

Advanced Properties

4

1 回答 1

1

这是正常的 sql 规则,因此默认实例是 tcp 1433(默认情况下)。

通过 ssms 连接并查看错误日志,在开头附近会显示正在侦听 xxx。

要通过 ssms 获取错误日志,请转到:“Management-->Sql Server Logs”

如果您在连接时遇到问题:

- 找出实例是否正在侦听 tcp,获取我的端口,如果不是,则 enqble

- 使用 telnet 尝试从客户端连接到端口,如果你得到一个空白屏幕,那么它是打开的

- 如果连接被拒绝,则 sql 可能没有在该端口上侦听

- 如果您收到连接超时,您可能有防火墙阻止了该端口

埃德

于 2015-01-05T19:27:44.973 回答