xampp server restart

not found the requested url was not found on this server. apache/2.4.41 (ubuntu) server at localhost port 80

 sh start-php-my-admin.sh 

 2002  sudo /opt/lampp/lampp start

 2003  history

 2004  sudo lsof -i :80

 2005  sudo lsof -i -P | grep -v "LISTEN" | grep -v ":80"

 2006  sudo systemctl status apache2

 2007  sudo service apache2 status

 2008  sudo apachectl stop

 2009  sudo /opt/lampp/lampp start

 2010  sudo service apache2 status

 2011  sudo service apache2 stop

 2012  sudo netstat -lpn |grep :80

 2013  sudo kill sudo lsof -t -i:80




<!DOCTYPE html>

<html>

<head>

  <title>Remove Text Example</title>

  <script>

    function removeText() {

      const inputText = document.getElementById("inputText").value;

      const lines = inputText.split('\n');

      const modifiedLines = lines.map(line => line.substring(6));

      const result = modifiedLines.join('\n');

  

      document.getElementById("output").innerText = result;

    }

  </script>

</head>

<body>

  <textarea id="inputText"></textarea>

  <button onclick="removeText()">Remove Text</button>

  <p id="output"></p>

</body>

</html>

sudo lsof -i :80

sudo lsof -i -P | grep -v "LISTEN" | grep -v ":80"

sudo systemctl status apache2

sudo service apache2 status

sudo apachectl stop

sudo /opt/lampp/lampp start

sudo service apache2 status

sudo service apache2 stop

sudo netstat -lpn |grep :80

sudo kill sudo lsof -t -i:80


https://askubuntu.com/questions/589295/xampp-apache-webserver-is-stopped

2 comments:

  1. sudo lsof -i :80,sudo lsof -i :80 | grep LISTEN,sudo kill 1259

    ReplyDelete
  2. sudo service apache2 status
    sudo service apache2 stop

    ReplyDelete

Event listening in react

 How we can listen to som eevents some envents fire like click or automatically user enters into input button , that is event on word type i...