User Tools

Site Tools


notes:xampp-netstat

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
notes:xampp-netstat [2022/06/18 14:05] adminnotes:xampp-netstat [2022/08/05 20:03] (current) – fix for google - part 2 admin
Line 1: Line 1:
-====== Fix XAMPP 'netstat: command not found' error on Linux ======+====== Fix XAMPP netstat error on Linux ======
  
-''netstat'' is old and is no longer shipped with modern distributions, being superseded by ''ss''To fix the XAMPP 'netstat: command not found' error on Linux while starting the service, simply edit file ''/opt/lampp/share/xampp/xampplib'' and change line 22 from:+''netstat'' is old and is not shipped anymore with modern distributions: it has been superseded by ''ss''. 
 + 
 +In order to fix the XAMPP 'netstat: command not found' error shown on Linux while starting the XAMPP service, simply edit file ''/opt/lampp/share/xampp/xampplib'' and change line 22 from:
     if netstat -an | egrep "[.:]$1 .*LISTEN" > /dev/null     if netstat -an | egrep "[.:]$1 .*LISTEN" > /dev/null
 to to
     if ss -an | egrep "LISTEN.*[.:]$1" > /dev/null     if ss -an | egrep "LISTEN.*[.:]$1" > /dev/null
  
notes/xampp-netstat.1655561147.txt.gz · Last modified: 2022/06/18 14:05 by admin