Search code examples
nodesethereumrpcmetamask

Using metamask to connect to another node on the same network


I am trying to connect my metamask to my node which is running on computer 2. computer 2is a server that is running windows and runs geth with the flags -rpc and -rpcport port number. I have metamask with my main computer, computer 2. I want to use my node on the other computer, but when i do as a custom rpc http://192.168.86.21:port number metamask wont connect. running a light node on computer 1 and using metamask to connect to localhost, works fine.

How should i connect from computer 1 to computer 2?

*when i say port number, i specify my custom port


Solution

  • I have fixed this by using a reverse proxy with nginx