I have trouble finding the port for a running SQL Server (SQLEXPRESS):
The command tasklist
in CMD
shows PID = 3376
for sqlservr.exe
.
It's the same PID
as in the Properties of this SQL Server (looked up under SQL Server Configuration Manager (Local) / SQL Server Services / SQL Server (SQLEXPRESS)). The property State
is Running
for this SQL Server.
However, the command netstat -ano
in CMD
does not show any port for this PID
.
I assumed that there would be an automatic allocation of this service (this PID
) to a port. Is my assumption wrong? If yes, how can I assign a specific service to a port?
Does the service have to be in the list of SQL Server Network Configuration as shown here? If yes, how to transfer the running SQL Server to this list?
netstat -aon
ornetstat -aon | findstr 1433
which has to do with 1433.