Can I create multiple master node on 1 machine with different ports?
Yes you can.
And in the case I store my coins in a local machine, then I create masternode in another VPS. When this VPS been hacked, what happens with 20000 coins? (stolen or still safe in my local wallet)
Just don't forget to encrypt your wallet