In ur doc, u mentioned SocketIOClient('http://localhost:3000'); but unfortunately it doesn't work. I have to mention ip instead of localhost.
If you want use IP Address, You must use https , Example = https://Your_IP_Address:3000