by making sure that the port in services.conf, matches a port you've set up in inspircd bind block to allow servers, rather then clients.
eg.
if my anope is connecting to port 7000, my inspircd needs to accept servers on that port.
for example: <bind address="" port="7000,7001" type="servers">