React and ASP.NET Core template app fails to launch (Visual Studio)
Haven't touched anything and it says "An exception happened at deploy, the port 49467 configured on launch.json is unavailable."
25 Replies
Try to change port and see if application can start
Weirdly, it has no effect. The only place I see that port is what you see in the image. If I change it, it complains about the same old port.

I see the front end runs, but it's blocking the backend from starting. It never runs. When I close the command line window that opens for the front end, I get that error about the port
They are not on the same port, in fact the launch settings has totally different ports:

it's normal behaviour
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
looks like it's using launch.json. Must be something new? I don't recall visual studio using that, only vscode.
I just expected it to work since I haven't even touched the template code.

what would this translate to in terms of settings?
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
yeah, I'm familiar with that. Just not sure why it complains about the port being blocked now.
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
So the client loads
But it says in this loading state. It never loads the server. It doesn't matter which port I change it too, it complains it's blocked

Unknown User•6d ago
Message Not Public
Sign In & Join Server To View

doesn't appear to be
this is while I'm in that loading state
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
no, regular command line
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
hmm

Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
I've restarted my computer. It starts the process when I start debugging then complains about it being blocked. Hehe. I give up. Thank you.
Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
No. I'm generating the app from the template in VS using the UI. Then I immediately run it and I get this. They must have changed it. THe template efore had much heavier config in the vite.config.ts if I recall correctly. Now it's almost nothing. I don't see the proxy settings there anymore.
I must have done this about a month ago and it worked without issues but I deleted the app.

Unknown User•6d ago
Message Not Public
Sign In & Join Server To View
that's ok, thanks for trying