was listening on app instead of server