What error message do you get?
Did you start the browser service?
How do you connect? By instance name or port?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I setup a VM (VMWare) to test SQL Server 2022
I used SQL Server Config Mgr to allow remote access and set the port
I can connect to the instance locally from SSMS and and connect to other instances (2019) from this VM
but I can't connect remotely to this instance from this VM or a physical PC
The VM and PC are in the same domain and I am using the domain Admin user id
What error message do you get?
Did you start the browser service?
How do you connect? By instance name or port?
By default SQLExpress 2022 has TCP and Named Pipes disabled as protocols for the instance. If you open SQL Server Configuration Manager and browse to SQL Server Network Configuration > Protocols for <NAMED INSTANCE> you will see three protocols enabled. Shared memory is the only one enabled. Enable TCP/IP and restart the SQL Server service.
Provided you are allowing the ports you need through the firewall, you will be connected. You had indicated that you disabled the firewall, so that will likely not be an issue.
More here about what ports to open on the firewall if you would like to turn it back on.
https://learn.microsoft.com/en-us/sql/sql-server/install/configure-the-windows-firewall-to-allow-sql-server-access?view=sql-server-ver16
Hi All,
I forgot to mention that, even the LOCALHOST was unable to connect to port 1433 in the present scenario. In previous versions of SQL (2014) though it was connecting Remotely but wasn't happening with localhost.
I have finally figured it out. It is the TCP/IP port for "IPAll" portion which was not specified to use 1433 leading to this connectivity issue with localhost as well as from Remote Hosts. Once I specified the port 1433 in IPAll settings and restarted the SQL Server service, both connections worked successfully.
Below is the screenshot of that particular setting which worked for me...!
Be sure the sql server port 1433 is open on the firewall of both the vm and hosting O/S
also check if the vm network is bridged or proxied behind the host. Can you ping the vm from a remote box.
I disabled the Firewall on the VM
The network is not bridged or proxied and I can Ping the VM
WSUS found the VM
VM has SSMS 19.0.2 and SQLExpress 2022
Physical PC has SSMS 18.12.1 and SQLExpress 2019
The VM SSMS can connect to the physical PC SQLExpress but does not see the VM SQLExpress