I deployed server on heroku. This uses socket.io. And I have a flutter app as clients. The socket connect is working. Server is printing client id etc. But emit() is not working