database - Access local host from remote server-side -


i didn't find clear on subject prefer ask before deploying app on remote server.

i meteor web app interact influx & mongo databases running locally on user's computer (this machine being docker container, actually), if app running on remote server. seems connecting given url not possible inside client-side script (it send me error when new influxdb(...), or mongoclient.connect(...).

it works fine if connexion made server side, app running locally development, it's not surprising. still possible when app deployed on remote server? otherwise, there simple solution reach these local machines ?

thanks !

for remote server access local computer, can't user localhost, need have dedicated public internet ip, or dyndns pointing public ip, , connect address.

you have open whole in internet facing router forward ports intranet ip address of computer.

and open whole in firewall (windows / linux) connections pass through , reach mongo or influxdb.

personally don't rcomend doing due security implications , don't see benefit of doing this.


Comments

Popular posts from this blog

python - Operations inside variables -

Generic Map Parameter java -

arrays - What causes a java.lang.ArrayIndexOutOfBoundsException and how do I prevent it? -