If it responds to a ping, and it’s not a DNS issue, you’re probably just left with a port-issue. If you can verify that the repository is indeed running, of course.
I’m not sure how we can troubleshoot this remotely, to be honest. But usual suspects are firewalls, either software based (eg. running on the Repository host machine or the client machine) or hardware based (on your router, but very unlikely on your switch. Though some enterprise switches have pretty complicated features that may mess with your routing).