In my system MarkLogic admin and config panel is working, but console panel is not. It worked until yesterday.
Message in browser shown below:
This site can't be reached
localhost refused to connect.
Did you mean http://localhost8000.com/?
Search Google for localhost 8000
ERR_CONNECTION_REFUSED
Move your .htaccess from the public folder to the root directory instead.
If you still have the problem then rename the file server.php in your root directory to index.php.
Visit: http://localhost:8000
You are missing : for the port number in the URL.
Related
I have a dash application in a compute engine instance that I'm looking to view in my browser. HTTP and HTTPS traffic is enabled and the instance has a static IP address. The apache server works and when I first ran an application, the default index page located at /var/www/html showed up at the browser address http://EXTENAL_IP_OF_VM_INSTANCE
From what I've seen elsewhere, web application files tend to be stored in the /var/www directory and the index.html file is present as the default page. However I have a single app.py file that I want to run which is located in the /home/user directory, so not in any particular web directory.
I run the app by entering python3 app.py and it does run:
Running on http://127.0.0.1:8050/ (Press CTRL+C to quit)
However, going to the instance's external IP address (34.89.0.xx) in my browser doesn't show the app, instead it shows text from an old 'hello world' application I made previously, that I thought I had deleted but is still showing up.
Part of the server configuration file apache2.conf is below:
The sites-available folder contains two files, 000-default.conf and default-ssl.conf, both with /var/www/html as the DocumentRoot. 000-default.conf is also in the sites-available folder, and is the only file there.
I tried changing the DocumentRoot in these files to /home/user where the app.py file is which didn't work, then I tried moving the file to the web directory /var/www which didn't work either.
Does anyone have any suggestions on how to fix this so that I can see my application in the browser?
Every time I'm trying to install wordpress from the address: localhost/wordpress
It's showing the "Parent Directory"
Apache/2.4.29 (Win32) OpenSSL/1.0.2l PHP/7.1.11 Server at localhost Port 80.
Can anybody give me a solution?
From your screenshot, it looks like you have no files in your localhost/wordpress directory. You can follow the steps on this Codex page - https://codex.wordpress.org/Installing_WordPress - to guide you through the install process. You first need to download and unzip the WordPress files from https://wordpress.org/download/ into your local folder. You also need to have PHP installed locally, set up a database and a user, and edit your wp-config.php file before you can access localhost/wordpress to run the install. It's all detailed in that Codex page.
everytime I install a new plugin for wordpress it says Could not copy file and the files address. Does anybody know why this is the case.
Check file premissions and (important!) file owner or group. If you use apache server group must be www-data (default). This can be a solution
I was facing the same issue but in my case I was updating using FTP.
I fixed it by setting the hostname to "localhost" instead of using the IP.
This is because there was a loop happening and making the file upload fail and that's logged in the /var/log/vsftpd.log
I'm trying to clone a wordpress website on to the local host to carryout a small development work and I'm having few issues here. Firstly, this is the procedure that I followed.
Installed XAMPP at C:\xampp on the Windows 10
Edited httpd.conf in Apache Config and changed to port 8080 by making the change Listen 8080
XAMPP runs successfully (both Apache and MySQL). When I visit the http://localhost:8080, I get the welcome screen
I go to http://localhost:8080/phpmyadmin/ , I see the phyMyAdmin screen.
I create a new database with the name, database in phpMyAdmin and subsequently import the database file that I would like to clone. Before importing, I replace all the keywords that contain localhost to localhost:8080 in the database file. The database gets imported successfully.
I copy all the wordpress files from the hosting server and place them in C:\xampp\htdocs\wp
Edit the wp-config.php and change the following:
database_name_here to database
username_here to root
password_here to '' (blank)
When I go to http://localhost/wp/ or http://localhost:8080/wp/, I get HTTP Error 404. The requested resource is not found.
Can anyone point what is going on here?
No need to do more effort, just follow below steps after you copy all files, change config file & download SQL file from source.
1. > Open SQL file & replace "Live URL" with "http://localhost:8080/wp/" ( include HTTP:// & www)
2. > now import edited SQL on the local machine.
3. > open admin first from http://localhost:8080/wp/wp-admin
4. > go to settings > permalink section & click on save button.
That's it, your site now working on your local machine.
Your 404 error may cause of "Step 4" to reset permalink.
http://www.inmotionhosting.com/support/edu/wordpress/wordpress-features/reset-permalinks
After changing file permissions it worked but after 2 days started getting the same error in wordpress. I am working on server I had changed the .htaccess file too but there is no effect.
Delete your .htaccess file and update your permalink structure in admin,
This Snap may be help you