Run Meteor only locally. So that no one has access but localhost

Hi. Topic says it pretty much.

My App is only making local API calls and now i want to make sure that no one has access to it but me (only access is from localhost:3000).

I know you can do it by blocking the port on your OS or Firewall but i want to know if this is somehow possible within meteor app?

1 Like

It’s undocumented but should still work:

BIND_IP=127.0.0.1 meteor run

Found on Meteorpedia.

3 Likes