Can't connect my laptop to a blockchain

+1 vote
Hi, I set a blockchain in a digital ocean vm and I want to do local development from my laptop without starting a node, I have this in the .conf file but it doesn't work.

server=1
listen=2
rpctimeout=10
rpcconnect=127.0.0.1
rpcuser=user
rpcpassword=pass
rpcallowip=107.170.243.105  // another vm that does work
rpcallowip=192.168._*_ // laptop ip

thanks for your help
asked Feb 14, 2017 by anonymous

1 Answer

0 votes

A 192.168.x.x address is an IP address for a private network, so it cannot be the IP address that your laptop appears with, from the perspective of this server. Try going to http://www.whatismyip.com/ from your laptop to discover its public facing address (which may well be that of the router your laptop is behind). 

answered Feb 16, 2017 by MultiChain
Thank you. It's working now
...