Error: ENOENT: no such file or directory, open 'public/temp/porfolio.jpg'

i have created mern stack portfolio website but when I want to upload image in mongosb database using cloudinary but I am getting error. When I use the url given by redender.com then I am getting error but when I use the url of my localhost then I am able to upload and view the image successfully but when I use the url of render.com then no such directory foud error is coming and I am using the free service of render.com??