SQL Server Service Broker by default uses port TCP 4022. For security policy reasons I prefer to use a different port number. Before deciding on a port number check it won’t conflict with another application port usage. Use netstat to view all ports currently open . Read How to Configure static ports for SQL Server for more details Once you’ve decided on a port number – use these scripts to create the service broker endpoint and assign the listener port --create ENDPOINT USE master; GO CREATE ENDPOINT SqlBrokerEndpoint STATE = STARTED AS TCP ( LISTENER_PORT = 45000) FOR SERVICE_BROKER (... Read more →