apache - Wamp server online but connection timed out to localhost -


i access localhost , phpmyadmin. i've installed wampserver so.

wampserver installed , when open goes green.

that takes time , have go apache -> service -> instal service go orange green works.

but till can't access local host. when accessing http://localhost/ or http://localhost/phpmyadmin or when pressing localhost @ wampserver menu, "this webpage not available, err_connection_timed_out".

i have been working days on fix no use. know lot of people had same problem here , asked many questions non of solutions written did help. did have iis using port 80 , made port empty. had skype using , fixed it.

now when test port 80 on wamp server gives me your port 80 not used..

my wamp icon green, internet on, firewall , antivirus turned off. i'm using windows 7, wamp server 2.5 64.

here http.confd file:

# # main apache http server configuration file.  contains # configuration directives give server instructions. # see <url:http://httpd.apache.org/docs/2.4/> detailed information. # in particular, see  # <url:http://httpd.apache.org/docs/2.4/mod/directives.html> # discussion of each configuration directive. # # not read instructions in here without understanding # do.  they're here hints or reminders.  if unsure # consult online docs. have been warned.   # # configuration , logfile names: if filenames specify many # of server's control files begin "/" (or "drive:/" win32), # server use explicit path.  if filenames *not* begin # "/", value of serverroot prepended -- "logs/access_log" # serverroot set "/usr/local/apache2" interpreted # server "/usr/local/apache2/logs/access_log", whereas "/logs/access_log"  # interpreted '/logs/access_log'. # # note: filenames specified, must use forward slashes # instead of backslashes (e.g., "c:/apache" instead of "c:\apache"). # if drive letter omitted, drive on httpd.exe located # used default.  recommended supply # explicit drive letter in absolute paths avoid confusion. serversignature on servertokens full  # # serverroot: top of directory tree under server's # configuration, error, , log files kept. # # not add slash @ end of directory path.  if point # serverroot @ non-local disk, sure specify local disk on # mutex directive, if file-based mutexes used.  if wish share # same serverroot multiple httpd daemons, need change @ # least pidfile. # serverroot "c:/wamp/bin/apache/apache2.4.9"  define apache24 apache2.4  # # mutex: allows set mutex mechanism , mutex file directory # individual mutexes, or change global defaults # # uncomment , change directory if mutexes file-based , default # mutex file directory not on local disk or not appropriate # other reason. # # mutex default:logs  # # listen: allows bind apache specific ip addresses and/or # ports, instead of default. see <virtualhost> # directive. # # change listen on specific ip addresses shown below  # prevent apache glomming onto bound ip addresses. # #listen 12.34.56.78:80 listen 0.0.0.0:80 listen [::0]:80  # # dynamic shared object (dso) support # # able use functionality of module built dso # have place corresponding `loadmodule' lines @ location # directives contained in available _before_ used. # statically compiled modules (those listed `httpd -l') not need # loaded here. # # example: # loadmodule foo_module modules/mod_foo.so # loadmodule access_compat_module modules/mod_access_compat.so loadmodule actions_module modules/mod_actions.so loadmodule alias_module modules/mod_alias.so loadmodule allowmethods_module modules/mod_allowmethods.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_anon_module modules/mod_authn_anon.so loadmodule authn_core_module modules/mod_authn_core.so #loadmodule authn_dbd_module modules/mod_authn_dbd.so #loadmodule authn_dbm_module modules/mod_authn_dbm.so loadmodule authn_file_module modules/mod_authn_file.so #loadmodule authn_socache_module modules/mod_authn_socache.so #loadmodule authnz_ldap_module modules/mod_authnz_ldap.so loadmodule authz_core_module modules/mod_authz_core.so #loadmodule authz_dbd_module modules/mod_authz_dbd.so #loadmodule authz_dbm_module modules/mod_authz_dbm.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 buffer_module modules/mod_buffer.so loadmodule cache_module modules/mod_cache.so loadmodule cache_disk_module modules/mod_cache_disk.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 data_module modules/mod_data.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 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 heartbeat_module modules/mod_heartbeat.so #loadmodule heartmonitor_module modules/mod_heartmonitor.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 lbmethod_bybusyness_module modules/mod_lbmethod_bybusyness.so #loadmodule lbmethod_byrequests_module modules/mod_lbmethod_byrequests.so #loadmodule lbmethod_bytraffic_module modules/mod_lbmethod_bytraffic.so #loadmodule lbmethod_heartbeat_module modules/mod_lbmethod_heartbeat.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_debug_module modules/mod_log_debug.so #loadmodule log_forensic_module modules/mod_log_forensic.so #loadmodule lua_module modules/mod_lua.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_express_module modules/mod_proxy_express.so #loadmodule proxy_fcgi_module modules/mod_proxy_fcgi.so #loadmodule proxy_ftp_module modules/mod_proxy_ftp.so #loadmodule proxy_html_module modules/mod_proxy_html.so #loadmodule proxy_http_module modules/mod_proxy_http.so #loadmodule proxy_scgi_module modules/mod_proxy_scgi.so #loadmodule ratelimit_module modules/mod_ratelimit.so #loadmodule reflector_module modules/mod_reflector.so #loadmodule remoteip_module modules/mod_remoteip.so #loadmodule request_module modules/mod_request.so #loadmodule reqtimeout_module modules/mod_reqtimeout.so #loadmodule rewrite_module modules/mod_rewrite.so #loadmodule sed_module modules/mod_sed.so #loadmodule session_module modules/mod_session.so #loadmodule session_cookie_module modules/mod_session_cookie.so #loadmodule session_crypto_module modules/mod_session_crypto.so #loadmodule session_dbd_module modules/mod_session_dbd.so loadmodule setenvif_module modules/mod_setenvif.so #loadmodule slotmem_plain_module modules/mod_slotmem_plain.so #loadmodule slotmem_shm_module modules/mod_slotmem_shm.so #loadmodule socache_dbm_module modules/mod_socache_dbm.so #loadmodule socache_memcache_module modules/mod_socache_memcache.so #loadmodule socache_shmcb_module modules/mod_socache_shmcb.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 watchdog_module modules/mod_watchdog.so #loadmodule xml2enc_module modules/mod_xml2enc.so  loadmodule php5_module "c:/wamp/bin/php/php5.5.12/php5apache2_4.dll" #phpinidir c:/wamp/bin/php/php5.5.12  <ifmodule unixd_module> # # if wish httpd run different user or group, must run # httpd root , switch.   # # user/group: name (or #number) of user/group run httpd as. # practice create dedicated user , group # running httpd, system services. # user daemon group daemon  </ifmodule>  # 'main' server configuration # # directives in section set values used 'main' # server, responds requests aren't handled # <virtualhost> definition.  these values provide defaults # <virtualhost> containers may define later in file. # # of these directives may appear inside <virtualhost> containers, # in case these default settings overridden # virtual host being defined. #  # # serveradmin: address, problems server should # e-mailed.  address appears on server-generated pages, such # error documents.  e.g. admin@your-domain.com # serveradmin admin@example.com  # # servername gives name , port server uses identify itself. # can determined automatically, recommend specify # explicitly prevent problems during startup. # # if host doesn't have registered dns name, enter ip address here. # servername localhost:80  hostnamelookups off  # # documentroot: directory out of serve # documents. default, requests taken directory, # symbolic links , aliases may used point other locations. # documentroot "c:/wamp/www/"  # # each directory apache has access can configured respect # services , features allowed and/or disabled in # directory (and subdirectories).  # # first, configure "default" restrictive set of  # features.   # <directory />     allowoverride none     require denied </directory>  # # note point forward must allow # particular features enabled - if something's not working # might expect, make sure have enabled # below. #  <directory "c:/wamp/www/">     #     # possible values options directive "none", "all",     # or combination of:     #   indexes includes followsymlinks symlinksifownermatch execcgi multiviews     #     # note "multiviews" must named *explicitly* --- "options all"     # doesn't give you.     #     # options directive both complicated , important.  please see     # http://httpd.apache.org/docs/2.4/mod/core.html#options     # more information.     #     options indexes followsymlinks      #     # allowoverride controls directives may placed in .htaccess files.     # can "all", "none", or combination of keywords:     #   allowoverride fileinfo authconfig limit     #     allowoverride      #     # controls can stuff server.     #  #   onlineoffline tag - don't remove     require granted </directory>  # # directoryindex: sets file apache serve if directory # requested. # <ifmodule dir_module>     directoryindex index.php index.php3 index.html index.htm </ifmodule>  # # following lines prevent .htaccess , .htpasswd files being  # viewed web clients.  # <files ".ht*">     require denied </files>  # # errorlog: location of error log file. # if not specify errorlog directive within <virtualhost> # container, error messages relating virtual host # logged here.  if *do* define error logfile <virtualhost> # container, host's errors logged there , not here. # #errorlog "logs/error.log" errorlog "c:/wamp/logs/apache_error.log"  # # loglevel: control number of messages logged error_log. # possible values include: debug, info, notice, warn, error, crit, # alert, emerg. # loglevel warn  <ifmodule log_config_module>     #     # following directives define format nicknames use     # 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>       # need enable mod_logio.c use %i , %o       logformat "%h %l %u %t \"%r\" %>s %b \"%{referer}i\" \"%{user-agent}i\" %i %o" combinedio     </ifmodule>      #     # location , format of access logfile (common logfile format).     # if not define access logfiles within <virtualhost>     # container, logged here.  contrariwise, if *do*     # define per-<virtualhost> access logfiles, transactions     # logged therein , *not* in file.     #     customlog "c:/wamp/logs/access.log" common      #     # if prefer logfile access, agent, , referer information     # (combined logfile format) can use following directive.     #     #customlog "logs/access.log" combined </ifmodule>  <ifmodule alias_module>     #     # redirect: allows tell clients documents used      # exist in server's namespace, not anymore. client      # make new request document @ new location.     # example:     # redirect permanent /foo http://www.example.com/bar      #     # alias: maps web paths filesystem paths , used     # access content not live under documentroot.     # example:     # alias /webpath /full/filesystem/path     #     # if include trailing / on /webpath server     # require present in url.      # need provide <directory> section allow access     # filesystem path.      #     # scriptalias: controls directories contain server scripts.      # scriptaliases same aliases, except     # documents in target directory treated applications ,     # run server when requested rather documents sent     # client.  same rules trailing "/" apply scriptalias     # directives alias.     #     scriptalias /cgi-bin/ "c:/wamp/bin/apache/apache2.4.9/cgi-bin/"  </ifmodule>  <ifmodule cgid_module>     #     # scriptsock: on threaded servers, designate path unix     # socket used communicate cgi daemon of mod_cgid.     #     #scriptsock cgisock </ifmodule>  # # "c:/wamp/bin/apache/apache2.4.9/cgi-bin" should changed whatever scriptaliased # cgi directory exists, if have configured. # <directory "c:/wamp/bin/apache/apache2.4.9/cgi-bin">     allowoverride none     options none     require granted </directory>  <ifmodule mime_module>     #     # typesconfig points file containing list of mappings     # filename extension mime-type.     #     typesconfig conf/mime.types      #     # addtype allows add or override mime configuration     # file specified in typesconfig specific file types.     #     #addtype application/x-gzip .tgz     #     # addencoding allows have browsers uncompress     # information on fly. note: not browsers support this.     #     addencoding x-compress .z     addencoding x-gzip .gz .tgz     #     # if addencoding directives above commented-out,     # should define extensions 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 map file extensions "handlers":     # actions unrelated filetype. these can either built server     # or added action directive (see below)     #     # use cgi scripts outside of scriptaliased directories:     # (you need add "execcgi" "options" directive.)     #     #addhandler cgi-script .cgi      # type maps (negotiated resources):     #addhandler type-map var      #     # filters allow process content before sent client.     #     # parse .shtml files server-side includes (ssi):     # (you need add "includes" "options" directive.)     #     #addtype text/html .shtml     #addoutputfilter includes .shtml </ifmodule>  # # mod_mime_magic module allows server use various hints # contents of file determine type.  mimemagicfile # directive tells module hint definitions located. # #mimemagicfile conf/magic  # # customizable error responses come in 3 flavors: # 1) plain text 2) local redirects 3) external redirects # # examples: #errordocument 500 "the server made boo boo." #errordocument 404 /missing.html #errordocument 404 "/cgi-bin/missing_handler.pl" #errordocument 402 http://www.example.com/subscription_info.html #  # # maxranges: maximum number of ranges in request before # returning entire resource, or 1 of special # values 'default', 'none' or 'unlimited'. # default setting accept 200 ranges. #maxranges unlimited  # # enablemmap , enablesendfile: on systems support it,  # memory-mapping or sendfile syscall may used deliver # files.  improves server performance, must # turned off when serving networked-mounted  # filesystems or if support these functions otherwise # broken on system. # defaults: enablemmap on, enablesendfile off # #enablemmap off enablesendfile off  # acceptfilter: on windows, none uses accept() rather acceptex() , # not recycle sockets between connections. useful network # adapters broken driver support, virtual network # providers such vpn drivers, or spam, virus or spyware filters. acceptfilter http none acceptfilter https none  # supplemental configuration # # configuration files in conf/extra/ directory can  # included add features or modify default configuration of  # server, or may copy contents here , change  # 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 , configuration #include conf/extra/httpd-info.conf  # virtual hosts #include conf/extra/httpd-vhosts.conf  # local access apache http server manual #include conf/extra/httpd-manual.conf  # distributed authoring , versioning (webdav) #include conf/extra/httpd-dav.conf  # various default settings #include conf/extra/httpd-default.conf  # configure mod_proxy_html understand html4/xhtml1 <ifmodule proxy_html_module> include conf/extra/proxy-html.conf </ifmodule>  # secure (ssl/tls) connections #include conf/extra/httpd-ssl.conf # # note: following must must present support #       starting without ssl on platforms no /dev/random equivalent #       statically compiled-in mod_ssl. # <ifmodule ssl_module> sslrandomseed startup builtin sslrandomseed connect builtin </ifmodule> # # uncomment out below deal user agents deliberately # violate open standards misusing dnt (dnt *must* specific # end-user choice) # #<ifmodule setenvif_module> #browsermatch "msie 10.0;" bad_dnt #</ifmodule> #<ifmodule headers_module> #requestheader unset dnt env=bad_dnt #</ifmodule>   #includeoptional "c:/wamp/vhosts/*" include "c:/wamp/alias/*" 

i need able complete work , connect database or open localhost. thanks

this sounds odd.

you should not need

 wampmanager -> apache -> service -> instal service 

ever unless doing odd makes me think maybe missing msvc runtime libraries required run version of apache.

look @ control panel -> programs , features these lines

enter image description here

for apache 2.4.9 need microsoft visual c++ 2012 redistributable

this image 32bit windows yours should have (x64) rather (x86) following name.

you can download runtime library from here

i think idea have ms c/c++ runtimes installed used program compiled microsofts c++ compiler. , if running 64bit windows having 32bit , 64 bit libraries idea, afterall windows64 run 32bit apps.

based on updated info

it appear has captured port 80.

first test if correct changing listening port used apache.

edit httpd.conf using wampmanager menus so

wampmanager -> apache -> httpd.conf 

now change these 2 lines

listen 0.0.0.0:80 listen [::0]:80 

to use port this

listen 0.0.0.0:8080 listen [::0]:8080 

restart apache or wampserver, if not running. if apache starts port 80 getting captured else

so run these 2 commands windows command window started using run administrator

netstat -anop tcp | find ":80" tasklist /fi "pid eq 999" /fo table /nh 

replacing 999 pid number previous command using port 80. pid last number on output command 1

this should report program using port 80

based on saying had iis installed

iis comes sorts of other stuff uses ms port sharing util allows these share port 80. unfortunately apache not use port sharing.

so have these , stop them well.

  • web deploy 2.0 (web deployment agent service)
  • ms sql server reporting service.
  • branchcache ( windows 8.1 )
  • sql server vss writer

this mat not complete list, ones know about.


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

javascript - Complex json ng-repeat -

jquery - Cloning of rows and columns from the old table into the new with colSpan and rowSpan -