꿀팁2

윈도우 10 방화벽 오픈 여부 확인하는 방법

xemaker 2020. 6. 5. 10:32

cmd 창에서

curl localhost:80

이렇게 날리면 방화벽이 열려있다면 관련 텍스트(웹 일경우 html태그들)가 리턴되서 올것이다.

C:\>curl localhost:80
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body
{
        background-color:#a776d5;
        margin:0 auto;
}
p { margin:0; }

....

방화벽이 안열려있다면 먹통된 느낌 혹은

C:\>curl localhost:803
curl: (7) Failed to connect to localhost port 803: Connection refused