Can't connect Backup Pro on non-default port
john.vanda
Posts: 6
When SQL Server is not listening on port 1433 (we have listening on a non-default port enabled), we are unable to restore a backup file using backup pro, due to a connection timeout. When we change the MSSQLSERVICE port configuration for listening on port 1433 instead, and restart the sql service, we are able to restore files using SQL Backup Pro. This however is not ideal for us, as we prefer to keep port 1433 off. Please advise on if I'm doing something wrong in Backup Pro, or if there are any workarounds.
SQL BACKUP Pro Version 6.2.0.134
SQL Server 2008 Version 10.0.1600.22 (X64)
SQL BACKUP Pro Version 6.2.0.134
SQL Server 2008 Version 10.0.1600.22 (X64)
Comments
- enable the shared memory protocol
Enable the shared memory protocol for both the server and client configuration.
- change the default port
Using the SQL Server client configuration utility, change the default port to which TCP/IP connections are made on the server.
- use an alias
Set up a TCP/IP alias using the SQL Server client configuration utilities. The alias needs to be identical to the SQL Server instance name, and map it to the correct port number.
- add a SQL Backup registry key
In the registry node HKLM\Software\Red Gate\SQL Backup\BackupSettingsGlobal\<instance name>, add a string value named SQLServerName. Enter the server name/IP address and the port number e.g. 127.0.0.1,1435
The first 3 options are SQL Server options, and would affect other applications running on the server. The last option is a SQL Backup specific option.
Thanks.
SQL Backup Consultant Developer
Associate, Yohz Software
Beyond compression - SQL Backup goodies under the hood, updated for version 8
Thanks for the tips. I went with the registry option and all is working well now on the non-standard port.
--John