I had same issue and look this official troubleshooting page.
I have tried all of the solutions but could not succeed.
Finally I set the server project as startup project then start the project with "https" option and it gives the port that I could use for the frontend.
P.S. Other start options (Docker, IIS, http) did not work for me.