내 VPS의 포트 5005가 수신 중이지만 닫혀 있습니다.

내 VPS의 포트 5005가 수신 중이지만 닫혀 있습니다.

포트 5005에서 실행되는 프로그램이 있고 해당 포트는 localhost를 통해 수신 대기하고 액세스할 수 있습니다.

znc-admin:~/.znc$ netstat -tulpn | grep 5005
(Not all processes could be identified, non-owned process info
 will not be shown, you would have to be root to see it all.)
tcp        0      0 0.0.0.0:5005            0.0.0.0:*               LISTEN      25476/znc    

znc-admin:~/.znc$    wget -p http://localhost:5005
--2014-11-26 11:25:21--  http://localhost:5005/
Resolving localhost (localhost)... 127.0.0.1
Connecting to localhost (localhost)|127.0.0.1|:5005... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1790 (1.7K) [text/html]
Saving to: `localhost:5005/index.html'

100%[===================================================>] 1,790       --.-K/s   in 0s

2014-11-26 11:25:21 (155 MB/s) - `localhost:5005/index.html' saved [1790/1790]

Loading robots.txt; please ignore errors.
--2014-11-26 11:25:21--  http://localhost:5005/robots.txt
Connecting to localhost (localhost)|127.0.0.1|:5005... connected.
HTTP request sent, awaiting response... 200 OK
Length: 26 [text/plain]
Saving to: `localhost:5005/robots.txt'

100%[===================================================>] 26          --.-K/s   in 0s

2014-11-26 11:25:21 (2.87 MB/s) - `localhost:5005/robots.txt' saved [26/26]

FINISHED --2014-11-26 11:25:21--
Total wall clock time: 0.01s
Downloaded: 2 files, 1.8K in 0s (88.2 MB/s)

불행하게도 이 포트 전달 테스트 웹 사이트에서는 포트가 닫힌 것으로 나타납니다.http://www.yougetsignal.com/tools/open-ports/

http://<my ip>:5005브라우저에서 페이지 시간이 초과되었습니다.

그것은 나를 미치게 만들고 있습니다. 내가 무엇을 놓치고 있습니까?

답변1

나는 이것이 간단하다는 느낌을 받았지만 아마도 이것이 누군가에게 도움이 될 것입니다. AWS 콘솔을 통해 보안 그룹(예: 방화벽)에 예외를 추가해야 했습니다.

나는 한 시간을 소비하고 서버의 방화벽을 확인한 후에 이 정확한 시나리오를 여러 번 접했습니다. 따라서 이것이 나 자신과 다른 사람들에게 다른 잠재적인 "방화벽"을 확인하라는 알림이 되기를 바랍니다!

관련 정보