add better error handling/checking if mapepire server is listening on port
add better error handling/checking if mapepire server is listening on port