It's like any other IP connection: just use either the IP address, or a host name that can be resolved. Something like
host = 122.33.18.55 or host = myhost.acme.org But, I think you'll find serious performance and reliability issues using a host located so far away. Better to use a local host, then replicate the database remotely. There have been a few threads about how to do that. -tk On Wed, Dec 18, 2019 at 8:28 PM PJD <[email protected]> wrote: > I'm trying to bind two weewx databases and am following the "Using > multiple bindings" section in the Customization Guide. If I'm following > the example correctly, the remote database being bound is on the same LAN, > given that the hostname of the database is given as rpi-bug. > > My question is about the syntax I would use if the remote database is > 100km away, on its own LAN, sitting behind a router. Using localhost isn't > going to work in finding the remote database and I'm not sure how to name > it correctly so that the binding can work. > > I'm assuming I'll need to open port(s) on my remote router and forward > requests to my remote weewx unit and know how to do that. > > Thanks for any tips. > > -- > You received this message because you are subscribed to the Google Groups > "weewx-user" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/8d933621-e2f4-4dd2-9333-fc667eaf8e52%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/8d933621-e2f4-4dd2-9333-fc667eaf8e52%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "weewx-user" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEARHy_whHe-Vf30BxNxDSdUY68mfBZcDJHRtrZCTN5sAg%40mail.gmail.com.
