
포트를 사용하는 모든 곳에서 일어난다고 보면 됩니다
netsh interface ipv4 show excludedportrange protocol=tcp
제외 포트를 검색하면 위와 같이 막힌 것을 확인할 수 있습니다.
winnat 이란 녀석이 포트 제외(block)를 자동으로 관리해주는데 재부팅을 하여 초기화해야 합니다.

net stop winnat포트번호를 열어주면 해결됩니다.

docker start container_name
net start winnat도커를 실행하고 다시 실행하면
윈도우 WSL2 Ubuntu 환경에서 라라벨 세일을 실행시켰을 때 생긴 문제입니다.

포트 번호가 이미 사용중일거라 생각하고 검색해보았는데
해당 포트 전체가 막혔을 줄은 몰랐습니다.
netstat -a -onetstat -aon | findstr 33062023-02-24T07:20:02.480407Z 0 [ERROR] [MY-010257] [Server] Do you already have another mysqld server running on port: 3306 ?
2023-02-24T07:20:02.480900Z 0 [ERROR] [MY-010119] [Server] Aborting
2023-02-24T07:20:03.822941Z 0 [System] [MY-010910] [Server] C:\laragon\bin\mysql\mysql-8.0.30-winx64\bin\mysqld: Shutdown complete (mysqld 8.0.30) MySQL Community Server - GPL.
2023-02-24T07:20:25.318431Z 0 [Warning] [MY-010097] [Server] Insecure configuration for --secure-file-priv: Current value does not restrict location of generated files. Consider setting it to a valid, non-empty path.
2023-02-24T07:20:25.318486Z 0 [Warning] [MY-010918] [Server] 'default_authentication_plugin' is deprecated and will be removed in a future release. Please use authentication_policy instead.
2023-02-24T07:20:25.318518Z 0 [System] [MY-010116] [Server] C:\laragon\bin\mysql\mysql-8.0.30-winx64\bin\mysqld (mysqld 8.0.30) starting as process 10424
2023-02-24T07:20:25.342559Z 1 [System] [MY-013576] [InnoDB] InnoDB initialization has started.
2023-02-24T07:20:25.848936Z 1 [System] [MY-013577] [InnoDB] InnoDB initialization has ended.
2023-02-24T07:20:26.447098Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.
2023-02-24T07:20:26.447532Z 0 [System] [MY-013602] [Server] Channel mysql_main configured to support TLS. Encrypted connections are now supported for this channel.
2023-02-24T07:20:26.448862Z 0 [ERROR] [MY-010262] [Server] Can't start server: Bind on TCP/IP port: 액세스 권한에 의해 숨겨진 소켓에 액세스를 시도했습니다.