updated params to only use 127.0.0.1 for local machine as IP may change