외부 트래픽을 허용하지 않는 Apache + Home 서버


1

판결이 새로운 질문을하는지에 대해서는 확실하지 않지만 이 게시물에서 이전 질문에 대한 답변 을받은 것 같습니다 .

이제 서버가 wamp / www 폴더 외부에 디렉토리를 설정할 수 있도록 올바르게 설정했으며 내 네트워크 내에서만 URL www.acyrid.com을 통해 사이트에 액세스 할 수 있습니다. 이것들은 이전 질문의 두 가지 큰 포인트였습니다. 또한 해당 게시물의 세 번째 주요 지점 인 wamp / www 디렉토리를 통해 여전히 localhost에 액세스 할 수 있습니다.

지금 내 문제는 : 왜 외부 트래픽을 수신 할 수 없습니까?

위의 url ( www.acyrid.com )을 테스트하는 몇 명의 친구가 있었고 그들은 조금 후에 시간을 초과했습니다. 프록시를 통해 테스트했으며 시간이 초과되었습니다.

아래에 httpd 및 httpd-vhosts conf 파일을 붙여 넣어 오류가 있지만 좀 더 많은 정보를 먼저 찾을 수 있는지 확인할 수 있습니다.

netsh advfirewall set AllProfiles 명령을 사용하여 방화벽을 비활성화했습니다.
내 OS는 Windows 7입니다. 선택한) 내 라우터는

나는 다음을 가지고있다 :

  • 서버 (Windows 7)
  • 아파치 2.2.17
  • MySQL 5.1.53
  • PHP 5.3.4.
  • Linksys E2000 라우터
  • Windows 7 Home Premium (64 비트)

나는 다음을 수행했다.

  • 명령 프롬프트를 통한 Windows 방화벽 비활성화 : netsh advfirewall set AllProfiles state off
  • IP에서 TCP에 대한 포트 80 (Http) 및 21 (FTP)을 열었습니다 : 192.168.1.50 ( "정적"IP)
  • freedns.afraid.org를 통해 외부 IP가 올바르게 전달되었습니다 ( 실행중인 게임 서버가 acyrid.com:25565를 통해 외부 연결을 허용하기 때문에 이것을 알고 있습니다 )

HTTPD.CONF

    #
    # This is the main Apache HTTP server configuration file.  It contains the
    # configuration directives that give the server its instructions.
    # See <URL:http://httpd.apache.org/docs/2.2> for detailed information.
    # In particular, see 
    # <URL:http://httpd.apache.org/docs/2.2/mod/directives.html>
    # for a discussion of each configuration directive.
    #
    # Do NOT simply read the instructions in here without understanding
    # what they do.  They're here only as hints or reminders.  If you are unsure
    # consult the online docs. You have been warned.  
    #
    # Configuration and logfile names: If the filenames you specify for many
    # of the server's control files begin with "/" (or "drive:/" for Win32), the
    # server will use that explicit path.  If the filenames do *not* begin
    # with "/", the value of ServerRoot is prepended -- so "logs/foo.log"
    # with ServerRoot set to "C:/Program Files/Apache Software Foundation/Apache2.2" will be interpreted by the
    # server as "C:/Program Files/Apache Software Foundation/Apache2.2/logs/foo.log".
    #
    # NOTE: Where filenames are specified, you must use forward slashes
    # instead of backslashes (e.g., "c:/apache" instead of "c:\apache").
    # If a drive letter is omitted, the drive on which Apache.exe is located
    # will be used by default.  It is recommended that you always supply
    # an explicit drive letter in absolute paths to avoid confusion.

    #
    # ServerRoot: The top of the directory tree under which the server's
    # configuration, error, and log files are kept.
    #
    # Do not add a slash at the end of the directory path.  If you point
    # ServerRoot at a non-local disk, be sure to point the LockFile directive
    # at a local disk.  If you wish to share the same ServerRoot for multiple
    # httpd daemons, you will need to change at least LockFile and PidFile.
    #
    ServerRoot "C:/wamp/bin/apache/apache2.2.17"

    #
    # Listen: Allows you to bind Apache to specific IP addresses and/or
    # ports, instead of the default. See also the <VirtualHost>
    # directive.
    #
    # Change this to Listen on specific IP addresses as shown below to 
    # prevent Apache from glomming onto all bound IP addresses.
    #
    #Listen 12.34.56.78:80
    Listen *:80

    #
    # Dynamic Shared Object (DSO) Support
    #
    # To be able to use the functionality of a module which was built as a DSO you
    # have to place corresponding `LoadModule' lines at this location so the
    # directives contained in it are actually available _before_ they are used.
    # Statically compiled modules (those listed by `httpd -l') do not need
    # to be loaded here.
    #
    # Example:
    # LoadModule foo_module modules/mod_foo.so
    #
    LoadModule actions_module modules/mod_actions.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule asis_module modules/mod_asis.so
    LoadModule auth_basic_module modules/mod_auth_basic.so
    #LoadModule auth_digest_module modules/mod_auth_digest.so
    #LoadModule authn_alias_module modules/mod_authn_alias.so
    #LoadModule authn_anon_module modules/mod_authn_anon.so
    #LoadModule authn_dbd_module modules/mod_authn_dbd.so
    #LoadModule authn_dbm_module modules/mod_authn_dbm.so
    LoadModule authn_default_module modules/mod_authn_default.so
    LoadModule authn_file_module modules/mod_authn_file.so
    #LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
    #LoadModule authz_dbm_module modules/mod_authz_dbm.so
    LoadModule authz_default_module modules/mod_authz_default.so
    LoadModule authz_groupfile_module modules/mod_authz_groupfile.so
    LoadModule authz_host_module modules/mod_authz_host.so
    #LoadModule authz_owner_module modules/mod_authz_owner.so
    LoadModule authz_user_module modules/mod_authz_user.so
    LoadModule autoindex_module modules/mod_autoindex.so
    #LoadModule cache_module modules/mod_cache.so
    #LoadModule cern_meta_module modules/mod_cern_meta.so
    LoadModule cgi_module modules/mod_cgi.so
    #LoadModule charset_lite_module modules/mod_charset_lite.so
    #LoadModule dav_module modules/mod_dav.so
    #LoadModule dav_fs_module modules/mod_dav_fs.so
    #LoadModule dav_lock_module modules/mod_dav_lock.so
    #LoadModule dbd_module modules/mod_dbd.so
    #LoadModule deflate_module modules/mod_deflate.so
    LoadModule dir_module modules/mod_dir.so
    #LoadModule disk_cache_module modules/mod_disk_cache.so
    #LoadModule dumpio_module modules/mod_dumpio.so
    LoadModule env_module modules/mod_env.so
    #LoadModule expires_module modules/mod_expires.so
    #LoadModule ext_filter_module modules/mod_ext_filter.so
    #LoadModule file_cache_module modules/mod_file_cache.so
    #LoadModule filter_module modules/mod_filter.so
    #LoadModule headers_module modules/mod_headers.so
    #LoadModule ident_module modules/mod_ident.so
    #LoadModule imagemap_module modules/mod_imagemap.so
    LoadModule include_module modules/mod_include.so
    #LoadModule info_module modules/mod_info.so
    LoadModule isapi_module modules/mod_isapi.so
    #LoadModule ldap_module modules/mod_ldap.so
    #LoadModule logio_module modules/mod_logio.so
    LoadModule log_config_module modules/mod_log_config.so
    #LoadModule log_forensic_module modules/mod_log_forensic.so
    #LoadModule mem_cache_module modules/mod_mem_cache.so
    LoadModule mime_module modules/mod_mime.so
    #LoadModule mime_magic_module modules/mod_mime_magic.so
    LoadModule negotiation_module modules/mod_negotiation.so
    #LoadModule proxy_module modules/mod_proxy.so
    #LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
    #LoadModule proxy_balancer_module modules/mod_proxy_balancer.so
    #LoadModule proxy_connect_module modules/mod_proxy_connect.so
    #LoadModule proxy_ftp_module modules/mod_proxy_ftp.so
    #LoadModule proxy_http_module modules/mod_proxy_http.so
    #LoadModule rewrite_module modules/mod_rewrite.so
    LoadModule setenvif_module modules/mod_setenvif.so
    #LoadModule speling_module modules/mod_speling.so
    #LoadModule ssl_module modules/mod_ssl.so
    #LoadModule status_module modules/mod_status.so
    #LoadModule substitute_module modules/mod_substitute.so
    #LoadModule unique_id_module modules/mod_unique_id.so
    #LoadModule userdir_module modules/mod_userdir.so
    #LoadModule usertrack_module modules/mod_usertrack.so
    #LoadModule version_module modules/mod_version.so
    LoadModule vhost_alias_module modules/mod_vhost_alias.so
    LoadModule php5_module "C:/wamp/bin/php/php5.3.4/php5apache2_2.dll"

    <IfModule !mpm_netware_module>
    <IfModule !mpm_winnt_module>
    #
    # If you wish httpd to run as a different user or group, you must run
    # httpd as root initially and it will switch.  
    #
    # User/Group: The name (or #number) of the user/group to run httpd as.
    # It is usually good practice to create a dedicated user and group for
    # running httpd, as with most system services.
    #
    User daemon
    Group daemon

    </IfModule>
    </IfModule>

    # 'Main' server configuration
    #
    # The directives in this section set up the values used by the 'main'
    # server, which responds to any requests that aren't handled by a
    # <VirtualHost> definition.  These values also provide defaults for
    # any <VirtualHost> containers you may define later in the file.
    #
    # All of these directives may appear inside <VirtualHost> containers,
    # in which case these default settings will be overridden for the
    # virtual host being defined.
    #

    #
    # ServerAdmin: Your address, where problems with the server should be
    # e-mailed.  This address appears on some server-generated pages, such
    # as error documents.  e.g. admin@your-domain.com
    #
    ServerAdmin admin@localhost

    #
    # ServerName gives the name and port that the server uses to identify itself.
    # This can often be determined automatically, but we recommend you specify
    # it explicitly to prevent problems during startup.
    #
    # If your host doesn't have a registered DNS name, enter its IP address here.
    #
    ServerName localhost:80

    #
    # DocumentRoot: The directory out of which you will serve your
    # documents. By default, all requests are taken from this directory, but
    # symbolic links and aliases may be used to point to other locations.
    #
    DocumentRoot "C:/wamp/www/"

    #
    # Each directory to which Apache has access can be configured with respect
    # to which services and features are allowed and/or disabled in that
    # directory (and its subdirectories). 
    #
    # First, we configure the "default" to be a very restrictive set of 
    # features.  
    #
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order deny,allow
        Deny from all
    </Directory>

    #
    # Note that from this point forward you must specifically allow
    # particular features to be enabled - so if something's not working as
    # you might expect, make sure that you have specifically enabled it
    # below.
    #

    #
    # This should be changed to whatever you set DocumentRoot to.
    #
    <Directory "C:/wamp/www/">
        #
        # Possible values for the Options directive are "None", "All",
        # or any combination of:
        #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
        #
        # Note that "MultiViews" must be named *explicitly* --- "Options All"
        # doesn't give it to you.
        #
        # The Options directive is both complicated and important.  Please see
        # http://httpd.apache.org/docs/2.2/mod/core.html#options
        # for more information.
        #
        Options Indexes FollowSymLinks

        #
        # AllowOverride controls what directives may be placed in .htaccess files.
        # It can be "All", "None", or any combination of the keywords:
        #   Options FileInfo AuthConfig Limit
        #
        AllowOverride all

        #
        # Controls who can get stuff from this server.
        #

    #   onlineoffline tag - don't remove
        Order Deny,Allow
        Deny from all
        Allow from 127.0.0.1

    </Directory>

    #
    # DirectoryIndex: sets the file that Apache will serve if a directory
    # is requested.
    #
    <IfModule dir_module>
        DirectoryIndex index.php index.php3 index.html index.htm
    </IfModule>

    #
    # The following lines prevent .htaccess and .htpasswd files from being 
    # viewed by Web clients. 
    #
    <FilesMatch "^\.ht">
        Order allow,deny
        Deny from all
        Satisfy All
    </FilesMatch>

    #
    # ErrorLog: The location of the error log file.
    # If you do not specify an ErrorLog directive within a <VirtualHost>
    # container, error messages relating to that virtual host will be
    # logged here.  If you *do* define an error logfile for a <VirtualHost>
    # container, that host's errors will be logged there and not here.
    #
    ErrorLog "C:/wamp/logs/apache_error.log"

    #
    # LogLevel: Control the number of messages logged to the error_log.
    # Possible values include: debug, info, notice, warn, error, crit,
    # alert, emerg.
    #
    LogLevel warn

    <IfModule log_config_module>
        #
        # The following directives define some format nicknames for use with
        # a CustomLog directive (see below).
        #
        LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
        LogFormat "%h %l %u %t \"%r\" %>s %b" common

        <IfModule logio_module>
          # You need to enable mod_logio.c to use %I and %O
          LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
        </IfModule>

        #
        # The location and format of the access logfile (Common Logfile Format).
        # If you do not define any access logfiles within a <VirtualHost>
        # container, they will be logged here.  Contrariwise, if you *do*
        # define per-<VirtualHost> access logfiles, transactions will be
        # logged therein and *not* in this file.
        #
        CustomLog "C:/wamp/logs/access.log" common

        #
        # If you prefer a logfile with access, agent, and referer information
        # (Combined Logfile Format) you can use the following directive.
        #
        #CustomLog "logs/access.log" combined
    </IfModule>

    <IfModule alias_module>
        #
        # Redirect: Allows you to tell clients about documents that used to 
        # exist in your server's namespace, but do not anymore. The client 
        # will make a new request for the document at its new location.
        # Example:
        # Redirect permanent /foo http://localhost/bar

        #
        # Alias: Maps web paths into filesystem paths and is used to
        # access content that does not live under the DocumentRoot.
        # Example:
        # Alias /webpath /full/filesystem/path
        #
        # If you include a trailing / on /webpath then the server will
        # require it to be present in the URL.  You will also likely
        # need to provide a <Directory> section to allow access to
        # the filesystem path.

        #
        # ScriptAlias: This controls which directories contain server scripts. 
        # ScriptAliases are essentially the same as Aliases, except that
        # documents in the target directory are treated as applications and
        # run by the server when requested rather than as documents sent to the
        # client.  The same rules about trailing "/" apply to ScriptAlias
        # directives as to Alias.
        #
        ScriptAlias /cgi-bin/ "cgi-bin/"

    </IfModule>

    <IfModule cgid_module>
        #
        # ScriptSock: On threaded servers, designate the path to the UNIX
        # socket used to communicate with the CGI daemon of mod_cgid.
        #
        #Scriptsock logs/cgisock
    </IfModule>

    #
    # "C:/Program Files/Apache Software Foundation/Apache2.2/cgi-bin" should be changed to whatever your ScriptAliased
    # CGI directory exists, if you have that configured.
    #
    <Directory "cgi-bin">
        AllowOverride None
        Options None
        Order allow,deny
        Allow from all
    </Directory>

    #
    # DefaultType: the default MIME type the server will use for a document
    # if it cannot otherwise determine one, such as from filename extensions.
    # If your server contains mostly text or HTML documents, "text/plain" is
    # a good value.  If most of your content is binary, such as applications
    # or images, you may want to use "application/octet-stream" instead to
    # keep browsers from trying to display binary files as though they are
    # text.
    #
    DefaultType text/plain

    <IfModule mime_module>
        #
        # TypesConfig points to the file containing the list of mappings from
        # filename extension to MIME-type.
        #
        TypesConfig conf/mime.types

        #
        # AddType allows you to add to or override the MIME configuration
        # file specified in TypesConfig for specific file types.
        #
        #AddType application/x-gzip .tgz
        #
        # AddEncoding allows you to have certain browsers uncompress
        # information on the fly. Note: Not all browsers support this.
        #
        #AddEncoding x-compress .Z
        #AddEncoding x-gzip .gz .tgz
        #
        # If the AddEncoding directives above are commented-out, then you
        # probably should define those extensions to indicate media types:
        #
        AddType application/x-compress .Z
        AddType application/x-gzip .gz .tgz
        AddType application/x-httpd-php .php
        AddType application/x-httpd-php .php3

        #
        # AddHandler allows you to map certain file extensions to "handlers":
        # actions unrelated to filetype. These can be either built into the server
        # or added with the Action directive (see below)
        #
        # To use CGI scripts outside of ScriptAliased directories:
        # (You will also need to add "ExecCGI" to the "Options" directive.)
        #
        #AddHandler cgi-script .cgi

        # For type maps (negotiated resources):
        #AddHandler type-map var

        #
        # Filters allow you to process content before it is sent to the client.
        #
        # To parse .shtml files for server-side includes (SSI):
        # (You will also need to add "Includes" to the "Options" directive.)
        #
        #AddType text/html .shtml
        #AddOutputFilter INCLUDES .shtml
    </IfModule>

    #
    # The mod_mime_magic module allows the server to use various hints from the
    # contents of the file itself to determine its type.  The MIMEMagicFile
    # directive tells the module where the hint definitions are located.
    #
    #MIMEMagicFile conf/magic

    #
    # Customizable error responses come in three flavors:
    # 1) plain text 2) local redirects 3) external redirects
    #
    # Some examples:
    #ErrorDocument 500 "The server made a boo boo."
    #ErrorDocument 404 /missing.html
    #ErrorDocument 404 "/cgi-bin/missing_handler.pl"
    #ErrorDocument 402 http://localhost/subscription_info.html
    #

    #
    # EnableMMAP and EnableSendfile: On systems that support it, 
    # memory-mapping or the sendfile syscall is used to deliver
    # files.  This usually improves server performance, but must
    # be turned off when serving from networked-mounted 
    # filesystems or if support for these functions is otherwise
    # broken on your system.
    #
    #EnableMMAP off
    #EnableSendfile off

    # Supplemental configuration
    #
    # The configuration files in the conf/extra/ directory can be 
    # included to add extra features or to modify the default configuration of 
    # the server, or you may simply copy their contents here and change as 
    # necessary.

    # Server-pool management (MPM specific)
    #Include conf/extra/httpd-mpm.conf

    # Multi-language error messages
    #Include conf/extra/httpd-multilang-errordoc.conf

    # Fancy directory listings
    Include conf/extra/httpd-autoindex.conf

    # Language settings
    #Include conf/extra/httpd-languages.conf

    # User home directories
    #Include conf/extra/httpd-userdir.conf

    # Real-time info on requests and configuration
    #Include conf/extra/httpd-info.conf

    # Virtual hosts
    Include conf/extra/httpd-vhosts.conf

    # Local access to the Apache HTTP Server Manual
    #Include conf/extra/httpd-manual.conf

    # Distributed authoring and versioning (WebDAV)
    #Include conf/extra/httpd-dav.conf

    # Various default settings
    #Include conf/extra/httpd-default.conf

    # Secure (SSL/TLS) connections
    #Include conf/extra/httpd-ssl.conf
    #
    # Note: The following must must be present to support
    #       starting without SSL on platforms with no /dev/random equivalent
    #       but a statically compiled-in mod_ssl.
    #
    <IfModule ssl_module>
    SSLRandomSeed startup builtin
    SSLRandomSeed connect builtin
    </IfModule>

    Include "C:/wamp/alias/*"

HTTPD-VHOSTS.CONF

    #
    # Virtual Hosts
    #
    # If you want to maintain multiple domains/hostnames on your
    # machine you can setup VirtualHost containers for them. Most configurations
    # use only name-based virtual hosts so the server doesn't need to worry about
    # IP addresses. This is indicated by the asterisks in the directives below.
    #
    # Please see the documentation at 
    # <URL:http://httpd.apache.org/docs/2.2/vhosts/>
    # for further details before you try to setup virtual hosts.
    #
    # You may use the command line option '-S' to verify your virtual host
    # configuration.
    #
    # Use name-based virtual hosting.
    #
    NameVirtualHost *:80
    #
    # VirtualHost example:
    # Almost any Apache directive may go into a VirtualHost container.
    # The first VirtualHost section is used for all requests that do not
    # match a ServerName or ServerAlias in any <VirtualHost> block.
    #
    <VirtualHost *:80>
      DocumentRoot C:/wamp/www/acyrid
      ServerName www.acyrid.com
    <Directory "C:/wamp/www">
       Options Indexes FollowSymLinks Includes ExecCGI
       AllowOverride All
       Order allow,deny
       Allow from all 
    </Directory>
    <Directory "C:/wamp/www/acyrid">
       Options Indexes FollowSymLinks Includes ExecCGI
       AllowOverride All
       Order allow,deny
       Allow from all   
    </Directory>
    </VirtualHost>

답변에 대해 미리 감사 드리며, 새로운 질문을 게시하는 데 규칙이나 전례를 어기면 사과드립니다. 새 질문을 게시하기 전에 FAQ를 읽고 가능한 한 철저하게 노력하고 있습니다.

최신 정보:

따라서 제공된 수정 사항을 통해 www.acyrid.com 링크에 액세스하고 사이트를 볼 수 있지만 내 네트워크에서만 다른 사람이 액세스 할 수 없습니다. 그 사람에 대한 아이디어가 있습니까?


포트 80 및 21에서 들어오는 모든 트래픽을 외부에서 서버의 IP 주소로 전달하도록 라우터가 구성되어 있습니까?
Eli

예 라우터를 통해 "정적 IP"192.168.1.50의 포트 80 및 21을 열기 위해 라우터 (Linksys E2000) 및 포트 전달 섹션으로 이동했습니다.

오늘 다음 단계를 수행 하여이 문제를 해결하려고 노력하고 있습니다. 1) 방화벽을 통해 포트 80의 TCP 트래픽을 허용하도록 Windows 7 방화벽 (위 게시물의 명령을 통해 비활성화 됨)에서 규칙을 설정하십시오. 2) 또한 라우터에 들어가 방화벽 설정에서 익명 인터넷 요청을 필터링하지 않도록 설정했습니다. 나는 내가 생각할 수있는 모든 것을하고 있지만 여전히 사이트에서 외부 가시성을 얻을 수 없습니다.

활성 연결 _____________________________________________________________________ 프로토 __ 로컬 주소 ___________ 외국 주소 __ 상태 _______PID TCP ____ 0.0.0.0:80______________0.0.0.0:0________LISTENING___4320__________________________________ 이것은 내가 실수하지 않는 한, 모든 IP에서 포트 80으로 wampache 수신을위한 서비스 ID임을 나타냅니다. 외부 연결을 수신 대기해야합니다.

그래서 나는 약간의 골칫거리입니다. 물론 Suddenlink는 포트 80에서 들어오는 트래픽이 더 잘 알았을 것입니다. 도와 주셔서 감사합니다. 해결

답변:


1

내가 알아 차린 몇 가지 :

  • Listen localhost:80즉, Apache는 로컬 호스트의 요청에만 응답하며 사이트는 인터넷에서 사용할 수 없습니다. 일반적으로이 줄은 Listen :80모든 호스트 IP 주소에서 수신 대기하거나 호스트의 특정 외부 IP 주소를 입력 할 수 있습니다.
  • NameVirtualHost줄만 원하면 Listen항목 과 일치해야합니다 . 몇 가지 좋은 예와 설명 은 일반적인 잘못된 구성 을 참조하십시오 .
  • 마찬가지로 VirtualHost입력 내용이 NameVirtualHost줄 과 일치하기 를 원합니다 .
  • www.acyrid.com에 대한 두 개의 항목이 있습니다. 하나를 삭제하거나 필요에 따라 결합하십시오. 두 번째 항목의 DocumentRoot가 잘못되었을 가능성이 큽니다.

문제 해결 및 문제 해결에 대한 몇 가지 구체적인 제안 :

  • 가능한 가장 간단한 구성으로 시작하여 테스트하여 작동하는지 확인한 다음 추가하여 시작하여 각 단계를 테스트하십시오. 하나의 VirtualHost 항목을 가지고 localhost에서 작동 할 때까지 테스트하는 것으로 시작합니다. 그런 다음 외부에서 테스트하고 작동하는지 확인합니다. 그래야만 더 복잡하거나 추가적인 VirtualHost 항목으로 이동할 수 있습니다.
  • 인터넷에서 서버가 외부에서 액세스 가능한지 확인하십시오. 간단한 테스트를 위해서는 서버에 ping, ftp, telnet, ssh를 시도하십시오. 서버에 연결할 수 없으면 네트워크 / DNS 구성 문제입니다. Apache 문제를 해결하기 전에 해결하십시오.
  • 사이트에 연결하려고 할 때 발생하는 오류 유형에주의를 기울이십시오. 문제의 원인을 좁히는 데 도움이됩니다. 예를 들어, 403 Apache 오류는 일반적으로 파일 / 디렉토리 권한이 잘못 구성되어 발생합니다 (Apache가 파일을 제공하려고하지만 읽을 수 없습니다). 403 오류를 해결하려고 VirtualHosts 항목을 사용하면 더 깨진 사이트가 생길 수 있습니다.


0

따라서 제공된 수정 사항을 통해 www.acyrid.com 링크에 액세스하고 사이트를 볼 수 있지만 내 네트워크에서만 다른 사람이 액세스 할 수 없습니다. 한 사람에 대한 아이디어


0

라우터에 로그인하고 Apache가 실행중인 시스템의 포트 80 LAN으로 포트 80 WAN을 "포트 전달"해야합니다.

그런 다음 모든 들어오는 포트 80 요청을 허용하도록 기본 Windows 방화벽을 수정해야합니다 (포트를 차단 해제하고 IP 제한이 없음).

ISP가 들어오는 포트 80 요청을 차단하고있을 수 있습니다. 연결되어 있으면 전화를 걸어 해당 포트를 차단 해제하도록 지시하십시오. 때로는 그들이 말하는 것을 이해하기 위해 더 높은 수준의 지원 기술이나 관리자가 필요할 것입니다.

편집 : 귀하의 www.acyrid.com 웹 사이트가 나를 위해 작동합니다 ... 8080 포트에 "프레임 전달"을 사용하고 있습니다.


2
다음을 사용하여 Windows 방화벽을 열 수 있습니다. netsh advfirewall firewall add rule name = "Open Port 80"dir = in action = allow protocol = TCP localport = 80
Kangur
당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.