I have an application built on Erlang/cowboy, the database is mnesia. The node name is [email protected].
Since there is no GUI in remote server, I want to use local observer to access to the remote mnesia.
I tried many times, but still failed. Can anyone help me out? (Assume the IP of remote server is 10.123.45.67)
Your remote Erlang node name should be [email protected]
instead of [email protected]
.
Also you need to set the same cookie for both nodes as well as the same node naming convention. By naming convention I mean short name (-sname
flag) or long name (-name
flag), becuase a node with a long node name cannot communicate with a node with a short node name.
Note that if your real remote IP is not in a trusted network, it is not good practice to do it in case of security.