Can anyone explain me why yum still working when I stop http service.

If I'm not wrong, yum repository use port 80 and 443 so stop http service on the machine should technicly stop possibility to install packages ?

  • 2
    Are you stopping the http service on the machine hosting the repository you’re using? – Stephen Kitt May 10 at 13:09
  • You might want to read up what the difference between a http server and a http client is, and what exactly the http service does. – Panki May 10 at 13:12
  • I'm stopping http service on my local machine. where I am wrong ? – LukaMopulo May 10 at 13:17
  • Also, take a look at how your yum repositories are defined in /etc/yum.repos.d. Any repositories defined with http:// URLs would certainly require a functional HTTP server on the host that holds the repository; but a local repository can also be defined using a file:// URL, which tells yum just to go and read the repository files directly. – telcoM May 10 at 18:07

You have stopped the service which responds to http requests, but your PC can still ask others for files using a client. The yum app is a client, which, in part, asks the web to send things so they may be installed.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.