used general form for server address in app.js