I set up an alias in SQL Server Configuration Manager and it works on the local machine. However, if I try to connect to it from a remote machine, the connection only goes through if I explicitly set the port number via the comma (e.g. FooServer\Apple,1433).
Without specyfing the port number I get this:
------------------------------ Cannot connect to FooServer\Apple. ------------------------------ ADDITIONAL INFORMATION: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1) So I'm wondering if there's a way to be able to connect to the SQL instance with the Alias without having to explicitly set the port?