Is your Epicor cloud or on premise? I’ll suggest you check the host server and port to make sure your firewall is not blocking the connection. Also confirm you can access the gateway (you can try directly login using web page) user and password can be causing a problem.