Not able to open website on localhost - wordpress

I am developing a website on localhost wamp using Wordpress. Today when I tried to open my wordpress account it was displaying an error "This webpage is not available ERR_CONNECTION_REFUSED",also I am not able to see any of my webpages.
I tried using IP address instead and tried to open on other browser like firefox,IE also (initially, I was working on chrome) but nothing worked.
Can anyone please suggest some solution to this??

Skype reserves port 80 for its incoming connection which conflicts with WAMP, so simply configure Skype to use another port by doing the following:
In Skype go to Tools|Options|Advanced|Connection uncheck the option --> Use port 80 and 443 as alternatives for incoming connections, that's it
For this change to take effect restart Skype and Restart all services on WAMP by doing the following:
Left-click WAMP tray icon > Restart All Services"
Now Wamp and Skype can co-exist together, hope this solves your problem!!
Have a look at this post:WAMP Server not working

Related

XAMPP wordpress LAN, redirect to localhost

I cant access my local site installed on pc from other device.
If i put 192.168.x.x, is loading 192.168.x.x/dashboard. The same for lan. its good.
Putting 192.168.x.x/site will be loaded my wordpress site for local pc without problems, but will redirect to localhost/site for lan devices! Why??
No hosts modified, no xampp files modified. In wordpress settings, the urls (2) are setted as 192.168.x.x/site
Restart apache does not help.
What happens?
Edit0:
I have modified one thing:
httpd.conf, Listen 192.168.x.x:80
Edit1:
I added new folder 'test' and 'index.html' with 'TEST' text. Is working, i can access from any device with 192.168.x.x/test. So, is some problem with wordpress? I will try to install wordpress again, to new folder.
Solution: reinstall wordpress.
If you are using Windows OS, first of all, check your sharing settings:
Control Panel\All Control Panel Items\Network and Sharing Center\Advanced sharing settings.
Make your network discoverable. If you don't know which type of network you are using you can find it from here: Control Panel\All Control Panel Items\Network and Sharing Center > View your active networks.
If you couldn't find that, choose "Turn on network discoverable" for all of them but please note that this is an unsecured way.
Then use ping command from other devices to check that your local PC is reachable.
If your PC was reachable from other devices, then you can open your local-website by opening your local IP address:
http://192.168.x.x
You can use these configurations for your Apache:
Listen 192.168.x.x:80 OR
Listen 80 OR
Listen 0.0.0.0:80

MAMP not working: "This site can't be reached"

I've been trying to port a standalone website I've been working on to WordPress. However, I haven't been able to install WordPress locally because MAMP isn't working properly.
I've installed MAMP on my computer fine. However, when I start the server and press "Open WebStart page", my default browser tells me "This site can't be reached. localhost refused to connect." I also noticed that there is only one green dot by MySQL Server; both the Apache Server and Cloud have white dots next to them.
I've tried a couple things with no luck. I've restarted my computer, but the same problem persisted. I went into MAMP Preferences and reset the ports to the default (8888 for Apache, 7888 for Nginx and 8889 for MySQL) but that had no effect. I've tried switching to Nginx, but kept getting 504 errors. Lastly, I've tried accessing the WebStart page in multiple different browsers with no luck, as well.
I'm running this on Windows 10 Professional.
Any help would be greatly appreciated. Thanks.
The issue is that you're probably trying to hit http[s]://localhost instead of http[s]://localhost:8888 ... your Apache port is set to 8888 so you need to tell the browser to look to that port. If you want to use the standard ports, you'd go to the "ports" section in MAMP and click the "Set server ports to 80, 81, 443, 7443, 3306, and 11211" option (or the equivalent). There's also the "Set server to MAMP ports" which moves all the ports back to 8888, 7888, 8890, etc.
I had the same problem, here's the fix that worked for me.
Launch MAMP stop the server then at the toolbar at the top press on MAMP-> ports then press set ports to default and then restart the servers it should work fine then.
Click on MAMP drop down, and click on preferences.
Then go to PHP.
Click on the Standard version drop down; and change it from 7.3.7 to 7.2.14.
Click OK.
Everything should be working fine now.

Access wordpress website on localhost from remote network

I want to show my client the WordPress website on localhost being developed by me (it's still in the beginning stage, not ready to go live yet). This is what I have done so far:
- I have done port forwarding and have tested it (whenever I access my Xampp localhost from the remote network by entering my computer's ip, it opens up the localhost dashboard).
Now this where I'm stuck:
- Whenever, I specify a directory of website (in htdocs) on my remote network's url (like this: mycomputer's ip/folder's name it changes the url to localhost/folder's name and the page doesn't open).
How do I resolve this issue?
Add this line to your wp-config.php might help:
define('WP_HOME','http://your-computer-IP');
define('WP_SITEURL','http://your-computer-IP');
and comment or delete that line when your work from home.
But there's something can be improved. Try to some DDNS services and install their application to your local machine. After installed, you can access your computer from mymachine.ddns.net even you're home or not. So with below setting, you no need to edit anything when you change your work location.
define('WP_HOME','http://mymachine.ddns.net');
define('WP_SITEURL','http://mymachine.ddns.net');

IIS Returns a /IISConfig/Config.aspx (Blank) Page

I'm trying to install Sense/NET on my Computer for demo purposes. I managed to install the Demo (Community Edition) Version on Port 80 as i followed the instructions on their WIKI Page
but when i tried to install another copy of Sense/NET (regardless of being a Demo/Community/Evaluation Edition) i kept getting this Blank /IISConfig/Config.aspx Page.
I am running on Windows 8.1 and IIS 8.x
if i am mistaken in any configurations please let me know and help me.
For SenseNet to work properly you have to register the url in two places:
in IIS Manager, on the IIS site you created
In SenseNet Content Explorer (the admin GUI), on the site content's Edit page.
So it is absolutely OK to have any number of urls with different port numbers, the localhost:80 above is just an example in the wiki.
How to change url and authentication settings
As Miklós've written Port 80 is only an example, there is no limitations on port numbers. You can configure any other port you like as long the IIS setting is corresponds the SenseNet site content's "URL list" configurations.
I assume default install goes with port 80, so if you've installed an other copy of SenseNet you should edit manually the second portal's ports in the IIS and in SN too. You can either edit the latter through the Edit page "URL List" field of the site content (eg. /Root/Sites/Default_Site) in SenseNet Content Explorer or set it in the web configuration file's "urllist" section.
Try to user your port using like this:
localhost:80 or any port you configured
Hope it help
EDIT: According to their WIKI (again)
First of all, check the port number: it should be set to '80'.
it is just strange as it seem that it must be under Port 80 and Port 80 only. is there any walk-through such limitations ?. like for example, another web app is also running along Port 80 and Port 80 alone ?. can this be achievable via web.config or iis ?
if not, there technically there is nothing we can do. The least is to mark my own post as the answer.

How to open localhost port on mobile device

I am running a Rails website on my Windows 8 computer's localhost. I want to try to run the website on my Android tablet. According to this top answer, to access the exact port from another device I must open the localhost port on my computer by adding an inbound rule to my firewall. I'm a beginner and I don't understand how to do this. Could somebody please go over this for me? Thank you.

Resources