MAMP - Accessing wp-admin page - php

I am learning WordPress and I have had a terrible time getting back into localhost:8888/wp-admin/. It worked fine when I first built the site, but I was unable to access the wp-admin log in screen after I turned my laptop back on. The login screen comes on occasionally, but goes back to the error page when I try to log in. When I type in localhost:8888/wp-admin/, I go to a screen with this message:
This site can’t be reached
localhost refused to connect. Search Google for localhost 8888 admin
ERR_CONNECTION_REFUSED
My MAMP settings:
Apache Port - 80
Nginx Port - 80
MySQL Port - 3306

Related

mysqli_real_connect(): (HY000/2006): MySQL server has gone away

I am having an issue with logging into phpMyAdmin.
I have simply install xampp.
when i launch the Xampp server it show me port error for 3306
so i have change the port from 3306 to 3307
in my.ini file and
config -> Service and Port Settings -> Mysql port Tab
Service Setting of Xampp Control Panel
Then i was able to start SQL server
when i try to open PhpMyadmin it show me error like this
than i change in config.inc.php
config.inc.php
Now when i try to open PhpMyadmin it ask me for username and password
Username - root
Password - Null
it show me error like this
Error while login in PhpMyadmin
Please Help me to find an issue
Thanks in advance
Since you are in the very early stages of using xampp and
NO development has been completed;
Uninstall xampp and remove ALL the MySQL* programs, Shutdown/Restart Windows 10.
Reinstall xampp. Verify functionality.
For additional assistance, view my Profile, Network profile, for contact information including my Skype ID and get in touch with me, please.

Localhost refused to connect Xampp issue

i am trying to connect my site from others computers on local network. I can access the site from my system IP address but issue is this when i entered the username and password it will redirect the page from 192.168.0.2/ppp/login to localhost/ppp/auth/login and shows thee error localhost refused to connect.
localhost usually points to 127.0.0.1 . So, if you are getting redirected to localhost/login/ppp then the issue with your site's code. Don't redirect to http://localhost/login/ppp. Just do a redirect to /login/ppp instead.
The reason connection is refused is because the other PC doesn't have XAMPP (or any other web server) running on it.
your only need to change the config.php file in controllers. write your IP instead of localhost. Your code will run properly on network.

Not able connect mobile to WAMP

I am using WAMP(version 2.4.9) to host a local server on my pc. My pc is connected to wifi and the ip address is 10.192.48.252 . The port is 420. When I type http://10.192.31.222:420/ in the browser of pc, I get the wampserver homepage as it should be but when I type in the same address in my mobile browser, I get the following error
Forbidden
You don't have permission to access / on this server
I have connected both my pc and mobile over same wifi network. I have set "Require all granted" in httpd.conf file and made 420 accessible through firewall. Please help.
I was also having the same issue as yours. Try XAMPP. Its working fine for me. It has no port issue.

WAMP Server :Project not running on localhost

I have installed WampServer Version 2.4.9 on windows 7
Created a folder in wamp/www/myproject/index.php ,I am using user account(not admin account).The index.php conatins HTML code only,I tried with index.html too,but nothing worked.
The problem:
When I run localhost or phpmy admin by typing localhost in browser URL space then it shows the main window and then i click on project and get these messages:
This webpage is not available
when I click on more button in browser
The server at myproject can't be found, because the DNS lookup failed. DNS is the network service that translates a website's name to
its Internet address. This error is most often caused by having no
connection to the Internet or a misconfigured network. It can also be
caused by an unresponsive DNS server or a firewall preventing Google
Chrome from accessing the network.
I tried running from admin account too but that also did not worked.I tried running the application with off state of firewall too but that also did not work
EDIT:
I uninstalled xxamp ,I have apache tomcat too in my system that is used with JSP ,it takes 8080 port.but it is not running currently.The default port for wamp is 80,I tried running it on 81,8080,but both the thing didn't work.Skype also take port 80 so I exited from skype too...
when i type localhost/myproject,It worked.
but when I type localhost and then main page of wamp comes...and when click on localhost then the dns lookup failure occur that is written initially
check whether port 80 is free. You can check it in your apache conf file.

jQuery ajaxy, history app not loading on localhost

I would like to use ajax plugin for loading content with hash change.
LINK to plugin webpage http://balupton.github.io/jquery-ajaxy/demo/
It is working on external server
LINK http://revelier.home.pl/SzymonDz/demo/
But on local how when I use xampp 3.1.0.3.1.0
Im connecting by port 8080
Normally there is no error on my server
but locally it load only active state
and ERROR
GET http://localhost/history/demopages/bananas.html
Like it would lost one "/" between demo and pages -> demo/pages
Can some1 help me with this problem?
Any help would be appreciate:)
Solved, had to made localhost without 8080, found out which program took my 80 (thats why i had 8080). Skype , settings, advanced, ports and uncheck "use port 80 and 443". Now script work.

Categories