Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Onionring's avatar

Connection reset by peer when creating new project using curl

Good day to all.

I get this error: curl: (35) OpenSSL SSL_connect: Connection reset by peer in connection to laravel.build:443

when I run this command in the ubuntu terminal: curl https ://laravel . build/example-app | bash

This is the first I encountered this error ever since I started working with laravel with docker desktop using WSL2.

I tried to reinstall everything, docker desktop, wsl2, and the ubuntu distros to no avail.

Also, I can not find any related topics online regarding this issue.

Thank you very much and I hope someone would be kind enough to help.

P.S. this is my first post here :D

"You may not include links the first day you sign up."

I intentionally placed spaces in the curl command to overcome this posting error.

0 likes
1 reply
Onionring's avatar

Solved.

Issue was my internet connection, probably DNS failure.

Please or to participate in this conversation.