I was getting this error : Microsoft.iOS: Socket error while connecting to IDE on 127.0.0.1:10000: Connection refused
In my case i was clicking run(play) button in rider instead if i select debug it is working.