changed ip of post to localhost