The MSSQLSERVER service on Local Computer started and then stopped. Some services stop automatically
I had found the solution to this problem. I have added the TCP Port 1433 in SQL set the TCP Port=1433
Configuration => Protocols for SQLEXPRESS => TCP/IP Then right click and go to property
After that show screen and go to Ip Address
After that show screen and go to IPALL
After that set the TCP Ip: 1433
And click on apply and ok
Worked for me after changing the appropriate user and credential for the instance.