아파치 멀티 포트

idrukawa의 이미지

안녕하세요.

아파치 웹서버에서 여러개의 포트로 웹 접속을 하려고 합니다.
버츄얼 호스트를 설정할 건 아니고 동일한 html 인데 포트를 여러개 지정.

아파치 설정 파일은 이하와 같습니다.
httpd.conf

ServerRoot "/home/user/web/httpd"
ServerName 127.0.0.1
 
<Directory />
AllowOverride none
Require all denied
</Directory>
 
DocumentRoot "/home/user/web/html"
 
<Directory "/home/user/web/html">
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
 
<Directory "/home/user/web/cgi-bin">
AllowOverride None 
Options None
Require all granted 
</Directory>
 
Listen 80
Listen 8080

이렇게 설정하면 일반 리눅스 서버에서는 다음 두 방법으로 모두 접속되는데요.
http://127.0.0.1:80
http://127.0.0.1:8080

임베디드용으로 컴파일 한 서버에 동일하게 설정하면
80, 8080 둘다 접속되지 않습니다.

포트는 모두 열려있는 상태입니다.

root@:/etc# netstat -anp | grep http
tcp        0      0 :::80                   :::*                    LISTEN      6700/httpd
tcp        0      0 :::8080                 :::*                    LISTEN      6700/httpd

임베디드 아파치는 다음과 같은 모듈을 포함하고 있습니다.

root@:/home/user/web/httpd/bin# ./apachectl -l
Compiled in modules:
  core.c
  mod_authn_file.c
  mod_authn_core.c
  mod_authz_host.c
  mod_authz_groupfile.c
  mod_authz_user.c
  mod_authz_core.c
  mod_access_compat.c
  mod_auth_basic.c
  mod_socache_shmcb.c
  mod_so.c
  mod_reqtimeout.c
  mod_filter.c
  http_core.c
  mod_mime.c
  mod_log_config.c
  mod_env.c
  mod_headers.c
  mod_setenvif.c
  mod_version.c
  mod_ssl.c
  prefork.c
  mod_unixd.c
  mod_status.c
  mod_autoindex.c
  mod_cgi.c
  mod_evasive20.c
  mod_dir.c
  mod_alias.c

방화벽은 모두 허용해놓은 상황입니다.

root@:/# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination         
 
Chain FORWARD (policy ACCEPT)
target     prot opt source               destination         
 
Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination         

도움 부탁드립니다.