Posts

Showing posts from July, 2021

DNS_PROBE_FINISHED_NXDOMAIN Error

Image
  The Easy Guide To Fix DNS_PROBE_FINISHED_NXDOMAIN Error   TUTORIAL     NO COMMENTS Sometimes you launch Google Chrome, type the site address you want to visit, and instead of getting to that site it says: “This site can’t be reached”. You wonder for a while and then notice the following lines at the end: “DNS_PROBE_FINISHED_NXDOMAIN”. Sounds familiar? What does that mean? DNS_PROBE_FINISHED_NXDOMAIN is a common error that occurs with Google Chrome which often puzzles its users. All it means is that there is a DNS related issue that is preventing you from visiting that page. Fortunately, there are some easy ways to get around this error and you can do it all by yourself. How to Fix It? In this step-by-step guide, we will walk you through the most effective and easiest ways to fix this error. Step 1: Disable Antivirus Sometimes Antivirus programs do hinder you from accessing certain websites. So, the first step should be to disable your antivirus program and see if t...

Error in processing request Error code: 500 Error text: Internal Server Error (rejected) It seems that the connection to server has been lost. Please check your network connectivity and server status.

Image
  Error in processing request Error code: 500 Error text: Internal Server Error (rejected) It seems that the connection to server has been lost. Please check your network connectivity and server status. While browse structure found an error,     Solution: First found the loaded php.ini path from phpinfo() function. In my case, /etc/php/7.1/apache2/php.ini Change post_max_size = 8M to update like post_max_size = 1024M Thanks.

unable to connect to localhost mysql workbench

 # open mysql conf file sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf # replace bind-address from 127.0.0.1 to 0.0.0.0 """ bind-address            = 0.0.0.0 """ # login to mysql sudo mysql # create a Database CREATE DATABASE db_name; # allow a full access to a specific user for a specific db GRANT ALL ON db_name.* TO user_name@'%' IDENTIFIED BY 'user_password'; GRANT ALL PRIVILEGES ON db_name.* TO 'user'@'hostname' ; # when password is already created  # exit mysql exit # open up port 3306 for every one sudo ufw allow 3306 # restart mysql sudo systemctl restart mysql # check from some external client to connect to this mysql. it should be successful

An AppArmor policy prevents this sender from sending this message to this recipient.Cannot connect MySQL Workbench to MySQL server in ubuntu

  Cannot Connect to Database Server Your connection attempt failed for user 'root' to the MySQL server at localhost:3306:   An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.125" (uid=1000 pid=7944 comm="/snap/mysql-workbench-community/5/usr/bin/mysql- wo" label="snap.mysql-workbench-community.mysql-workbench- community (enforce)") interface="org.freedesktop.Secret.Service" member="OpenSession” error name="(unset)" requested_reply="0" destination=":1.13" (uid=1000 pid=2044 comm="/usr/bin/gnome- keyring-daemon --daemonize --login" label="unconfined") Please: 1 Check that MySQL is running on address localhost 2 Check that MySQL is reachable on port 3306 (note: 3306 is the default, but this can be changed) 3 Check the user root has rights to connect to localhost from your address (MySQL rights define what clients...

How to add custom domain in aws ec2 instance

Image
  Point Domain to AWS EC2 Instance Today we will learn how to  point domain to Amazon EC2 instance . We have two way to do that we will learn both of them. So let’s see  how to point domain to EC2 instance Get Elastic IP and Assign it to Amazon instance The first thing you need to do is get an Elastic IP, the instance IP can change during reboot etc but elastic IP are static IP’s so you should make sure you create one of them and assign it your running instance. Step 1 – Open the AWS Management Console, click the  EC2  link, and display the page associated with your region. Step 2 – Click the  Elastic IPs  link in the  EC2 Dashboard . Click  Allocate New Address  and choose  Amazon’s pool of IPv4 Addresses  from the list. Click  Yes, Allocate  to confirm your choice. Select the newly created Elastic IP and choose  Associate Elastic IP Address . Choose your desired EC2 instance from the drop-down list of...

How To Install Nginx on Ubuntu 20.04

Image
  Step 1 – Installing Nginx Because Nginx is available in Ubuntu’s default repositories, it is possible to install it from these repositories using the  apt  packaging system. Since this is our first interaction with the  apt  packaging system in this session, we will update our local package index so that we have access to the most recent package listings. Afterwards, we can install  nginx : sudo apt update sudo apt install nginx   Copy After accepting the procedure,  apt  will install Nginx and any required dependencies to your server. Step 2 – Adjusting the Firewall Before testing Nginx, the firewall software needs to be adjusted to allow access to the service. Nginx registers itself as a service with  ufw  upon installation, making it straightforward to allow Nginx access. List the application configurations that  ufw  knows how to work with by typing: sudo ufw app list   Copy You should get a listing of the...