change localhost to http://ec2-54-199-180-105.ap-northeast-1.compute.amazonaws.com