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


#1

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?


#2

It’s undocumented but should still work:

BIND_IP=127.0.0.1 meteor run

Found on Meteorpedia.