skip to Main Content

I am trying to install nginx in mac m1 without using homebrew. So, while running "curl -OL https://ftp.exim.org/pub/pcre/pcre-8.45.tar.gz" command in the terminal, it is showing "curl: (35) Recv failure: Connection reset by peer" error. Can you tell me how i can resolve this curl issue.

This is the website i am following to install nginx: https://adamtheautomator.com/nginx-on-mac/#Enabling_NGINX_Autostart_for_a_Source-Based_Installation.

I tried to install nginx by following this documentary https://adamtheautomator.com/nginx-on-mac/#Enabling_NGINX_Autostart_for_a_Source-Based_Installation. But i am getting curl(35) : Recv failure: Connection reset by peer.

2

Answers


  1. The source link is returning HTTP 404 For me.

    You may try download pcre from sourceforge.net and following the rest of that tutorial to get nginx installed properly.

    Login or Signup to reply.
  2. The link is normally serving file.

    $ curl -I https://ftp.exim.org/pub/pcre/pcre-8.45.tar.gz
    
    HTTP/1.1 200 OK
    Server: nginx
    Date: Wed, 24 Apr 2024 10:54:18 GMT
    Content-Type: application/octet-stream
    Content-Length: 2096552
    Last-Modified: Tue, 15 Jun 2021 16:17:45 GMT
    Connection: keep-alive
    ETag: "60c8d2a9-1ffda8"
    Link: <https://ftp.exim.org/pub/pcre/pcre-8.45.tar.gz>; rel=canonical
    Accept-Ranges: bytes
    

    The error that provided by you is normally caused by network issue. Try that command on other network or try using VPN.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search