GET http://localhost:3030/sockjs/info?cb=8oip8d2q9z net::ERR_CONNECTION_REFUSED
I tried stashing my changes but it is still happening. I also tried checking to see if something was blocking port 3030 with sudo lsof -i :3030. Nothing shows up. There’s no server errors either
Has anyone experienced this before? Anyone know a solution?
For some reason, your client was listening for the server on port 3030, but your server was running on port 3000. So, by having your server run on the same port as the client, they can talk to each other. That is all I can figure was wrong, but I can not explain why your client was listening on port 3030.
Derp. Found the problem. And it was a stupid mistake
I almost always use meteor-ddp-analyzer to get a good idea of how my DDP connections are working. However, I wasn’t using it currently but still had the environment variable exported.