You need to go to
Start > Microsoft SQL Server > Configuration Tools > SQL Server Configuration Manager
When it opens, go to SQL Server Configuration Manager > SQL Server Network Configuration > Protocols for SQLExpress
.
There you’ll find the Protocol TCP/IP, if disabled then Enable it. Click on TCP/IP, you’ll find its properties.
In these properties, remove all the TCP Dynamic Ports and add value of 1433 to all TCP ports, and restart your SQL Server Services > SQL Server
And it’s done.