简体   繁体   中英

SignalR server client communication

I have an asp.net core console application server and asp.net core web application(MVC) client.

I'm using signalR and when I run the client app it does not connect to the server (where the hub is located).

Do I need to run the server app first and then the client app in order to connect them and the hub? If so, when I do this it says that the https://localhost:5001 is already taken when I run the client after starting the server (obviously) - how do I fix it?

I'm new to all of this, so thank you for your help!

I have an asp.net core console application server and asp.net core web application(MVC) client.

I'm using signalR and when I run the client app it does not connect to the server (where the hub is located).

Do I need to run the server app first and then the client app in order to connect them and the hub? If so, when I do this it says that the https://localhost:5001 is already taken when I run the client after starting the server (obviously) - how do I fix it?

I'm new to all of this, so thank you for your help!

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM