err message now displays correct server address