Webservices should listen on localhost only. Some directory changes. Remove main.js server - ngonx will be host it