크롬에서만 ?
비발디에서도
register
\HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg
Extension 항목이 .jfif 로 설정
수정 -> jpg
크롬에서만 ?
비발디에서도
register
\HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg
Extension 항목이 .jfif 로 설정
수정 -> jpg
If (-NOT ([Security.Principal.WindowsPrincipal][Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator"))
{
$arguments = "& '" + $myinvocation.mycommand.definition + "'"
Start-Process powershell -Verb runAs -ArgumentList $arguments
Break
}
$remoteport = bash.exe -c "ifconfig eth0 | grep 'inet '"
$found = $remoteport -match '\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}';
if( $found ){
$remoteport = $matches[0];
} else{
echo "The Script Exited, the ip address of WSL 2 cannot be found";
exit;
}
$ports=@(3000, 3001, 3002, 5500, 19000, 19001);
iex "netsh interface portproxy reset";
for( $i = 0; $i -lt $ports.length; $i++ ){
$port = $ports[$i];
iex "netsh interface portproxy add v4tov4 listenport=$port connectport=$port connectaddress=$remoteport";
}
iex "netsh interface portproxy show v4tov4";$ports=@(3000, 3001, 3002, 5500, 19000, 19001);$ports=@(2222,3333);wsl2에서 외부연결을 위한 포트포워딩 작업시 오류내용
PowerShell.exe -ExecutionPolicy Bypass -File .\wsl-connect-external.ps1
-> The Script Exited, the ip address of WSL 2 cannot be found
해당 문제에대한 자세한 이슈는 해당페이지에서 참고 하시길.
https://github.com/Microsoft/WSL/issues/849
1. Windows + R을 눌러 실행 창을 켠 다음, SystemPropertiesAdvanced를 실행한다.
SystemPropertiesAdvanced
2. 고급 탭에서 성능의 설정에 들어간다.
3. 고급 탭에서 가상 메모리에서 변경에 들어간다.
4. 모든 드라이브에 대한 페이징 파일 크기 자동 관리를 해제하고, C 드라이브를 선택한 뒤 사용자 지정 크기로 선택한다.
처음 크기는 자신의 메모리(RAM)의 크기로, 최대 크기는 메모리 크기x2 값으로 변경한다.
저의 경우 16GB를 사용, 최소 크기는 16384(MB), 최대 크기는 32768(MB)로 설정하였음.
5. 확인후 창을 닫고 명령대로 재부팅한다.
6. 재부팅후 정상작동 확인.
크롬에서만 ? 비발디에서도 register \HKEY_CLASSES_ROOT\MIME\Database\Content Type\image/jpeg Extension 항목이 .jfif 로 설정 수정 -> jpg