oortcloud / node-ddp-client

A callback style DDP (Meteor's Distributed Data Protocol) node client.
Other
263 stars 80 forks source link

Advice to connect to localhost from Raspberry Pi #74

Closed KyleKing closed 4 years ago

KyleKing commented 8 years ago

I have a Raspberry Pi running a Node application. I am sharing internet with the Pi through a connected ethernet cord. The node application is to connect with a Meteor application running on my laptop. I have the DDP connection working from the Raspberry Pi to my meteor application hosted on a server, but I can't connect to my local version.

I've tried my computer's IP address and 'localhost', but both result in an error. The same error occurs when no Meteor app is running. Here is a sample error when trying localhost:

Network error: ws://localhost:3000/websocket: connect ECONNREFUSED

Does anyone have any ideas of what I could try? Developing with a deployed application is obviously less than optimal and I think I was able to get this working in September just by specifying localhost?

KyleKing commented 4 years ago

Closing as stale