Error: Failed to download metadata for http://{LOCAL-REPO-IP}/var/www/html/../../../repomd.xml
Hello!
I have created a local repository with apache. My client machine is unable to reach this repository for some reason. I can ping the machine. any help would be super helpful.
client machine /etc/yum.repos.d/localrepo.repo
[baseOS]
name=Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)
baseurl=http://x.x.x.x/var/www/html/localrepo/rhel/8/baseos/
metalink=http://x.x.x.x/var/www/html/localrepo/rhel/8/baseos/repodata/repomd.xml
gpgkey=http://x.x.x.x/var/www/html/localrepo/gpg-keys/RPM-GPG-KEY-redhat-release
enabled=1
gpgcheck=1
enabled_metdata=1
edit: firewall port is open and http service is open
ERROR MESSAGE READS
Errors during downloading metadata for repo 'baseos':
- Status code: 404 for http://x.x.x.x/var/www/html/localrepo/rhel/8/baseos/repodata/repomd.xml (IP:x.x.x.x)
Error: Failed to download metadata for repo 'baseos': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried
Responses