changing an outgoing(?) port

We have an app that talks to SQL (from the DMZ) our network admin has been on the phone to the support for our new firewall setups. He told the NA to tell the DBA to change the port that SQL TALKS on to something other than the default 1433. He claims this is a different port to that which LISTENS on and that the talking one is a random port. I know how to go into network librarys - tcp/ip - properties and change the default port... but what are they talking about?

SQL 2000
Default instance.
LVL 29
Who is Participating?
dqmqConnect With a Mentor Commented:
You've got it right; he's got it backwards.  SQL listens on 1433 (by default).  SQL talks on the random port opened by the client (not by the firewall).  The only thing you can change is the inbound port.

This should explain it:
QPRAuthor Commented:
Yea I read that (skimmed :) b4 posting here.
But doesn't this relate to the firewall?
I can go to the tcp/ip properties and change the default port within SQL but this firewall tech seemed to say (unless the messenger got it wrong) that there was 2 ports in sql inbound/outbound and I should change the outbound.

I thought sql just had this single port and would talk back to the firewall on whatever port (random or otherwise) that the firewall requested it to.
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

The recommend procedure to change that setting is (by simple words)

1º The account you use to change de configuration, must be member of the sysadmin role.

2º Open EnterpriseManager> Right Click Server You Want To Reconfigure > Properties > Network Configuration > Choose TCP/IP From the enable protocols > Change the Network Protocol Default Value, for the port number you want to use.

Best Regards,

Paulo Condeça
QPRAuthor Commented:
Thanks Paulo, as I said in my question - I know how to change the default sql port. But the firewall support guy had me thinking there was something I didn't know. A secondary port used by SQL.
QPRAuthor Commented:
I'm guessing he got it a bit wrong, I think what he meant to say was - change the default SQL port to something else and then set the DSN on the web server to use that port also?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.