Connect to SQL Server through IP address

前端 未结 2 1334
走了就别回头了
走了就别回头了 2020-12-03 19:27

I\'m developing tools using vb.net framework 4, and I need to connect to company server through IP address, so staff will be able to use the apps from home.

I have t

2条回答
  •  醉话见心
    2020-12-03 20:19

    Here are couple more things you can try.

    Check if sql server is configured to listen on that IP address. If your server has multiple IP addresses that doesn’t necessarily mean that it can automatically accept connections from all IPs.

    To set this go to SQL Server Configuration Manager -> SQL Server Network Configuration -> Protocols for {instancename} -> TCP/IP -> IP addresses tab

    Here is also some info that will guide you when setting up firewall. What you want to do with the firewall is to enable TCP and UDP traffic on port 1433 for both incoming and outgoing traffic.

    http://www.howtogeek.com/112564/how-to-create-advanced-firewall-rules-in-the-windows-firewall/

    Now, if you have physical firewall or some other software firewall other than windows default you’ll have to contact your network admin

提交回复
热议问题