apache - Need help about localhost. Why can't I connect to localhost via any browser? -


i can't connect localhost via browser, despite having started apache , mysql in xampp control panel.

for example, when try connect via opera, opera browser shows me error message: "this webpage not available. opera's connection attempt localhost rejected. website may down, or network may not configured."

and other browsers chrome. chrome browser shows me following error message:

"this webpage not available. err_connection_refused".

what doing wrong? please help.

the chrome error err_connection_refused means machine (yours) has actively refused chrome's connection attempt @ port 80 http servers use default.

to fix that, need go apache's settings @ httpd.conf file , add port listener:

# listen port listen *:80 

after that, restart apache , try connecting localhost again.


Comments

Popular posts from this blog

get url and add instance to a model with prefilled foreign key :django admin -

android - Keyboard hides my half of edit-text and button below it even in scroll view -

css - Make div keyboard-scrollable in jQuery Mobile? -