Linux Php-fpm.sock failed no such file or directory

I’m Trying to pull my site from my flywheel hosting account to local. But once the pull is completed I kept getting a ‘502 Bad Gateway’ when I’m trying to visit my site.

Then in the nginx logs I get the following message

2019/12/19 09:49:35 [crit] 9076#0: *1 connect() to unix:/home/userl/.config/Local/run/izGqv5OpL/php-fpm.sock failed (2: No such file or directory) while connecting to upstream, client: 127.0.0.1, server: , request: “GET / HTTP/1.0”, upstream: “fastcgi://unix:/home/userl/.config/Local/run/izGqv5OpL/php-fpm.sock:”, host: “mld.local”

I even try to follow the steps of another thread (502 Bad Gateway(solved)) but its not working either instead it brings another error “uh-oh! Unable to import site Error: cannot read property replace of undefined”

Note: I was having errors with binding, but I solve them changing apache ssl from 443 to 7443, dont think its related but just in case.

2019/12/18 10:51:43 [emerg] 24416#0: bind() to 0.0.0.0:443 failed (98: Address already in use)
2019/12/18 10:51:43 [emerg] 24416#0: still could not bind()

Thanks