Charles Offenbacher
Charles Offenbacher

Reputation: 3132

Running MeteorJS on remote server

I like to do my development over SSH on a remote server -- is there any way to run and access meteor's debug server in that situation?

It listens for http://localhost://3000, not on http://example.com://3000, so I can't access it.

Thanks!

Upvotes: 2

Views: 1078

Answers (2)

nafis
nafis

Reputation: 199

you could also do an ssh local port forward, more information is here.

Upvotes: 1

Charles Offenbacher
Charles Offenbacher

Reputation: 3132

I just found the code in app/meteor/run.js and hardcoded the Status.listening statement's host value to my host, and it worked for now! Perhaps --host can be added as an option to "meteor run" in the future as a sustainable solution.

Upvotes: 2

Related Questions