Are you trying to listen server method _connection.On<string>("broadcastMessage", (s2) => Getmsg(s2)); before the service started?
_connection.On<string>("broadcastMessage", (s2) => Getmsg(s2));