Level 11
Where's your code?
I have a basic file upload form in blade which hits the store method on my controller.
When i submit the form without uploading the file and dd() on controller store method I can see my request. But when i attach a file with the form i get the below error
stream_socket_sendto(): Connection refused
I believe this might be an issue with php-fpm and/or web server. But funny thing is it works perfectly in my test environment and fails on the production server.
Any help is appreciated!
@devfrey thanks for taking out the time to comment. I fixed the issue with chmod 777 for storage/app/public directory.
Please or to participate in this conversation.