moved server out of Application.js. changed ip to 0.0.0.0.