Hyper-v replication gives timed out error
It might be DNS or TCP/IP related error. Make sure that replica and source host can ping each other using ping or nslookup by DNS name, FQDN and IP. Here is some info (#3) - https://www.altaro.com/hyper-v/advanced-troubleshooting-of-hyper-v-replica-part-1/