Mac
- Connecting to VNC Server from a Mac computer
- kex_exchange_identification: read: Connection reset by peer
To list all packages installed with brew
brew list
To see if a specific package installed, run
brew list | grep package_name
List open ports
netstat -apv TCP netstat -a | grep -i "listen" netstat -Waltn | grep LISTEN netstat -Waltn | grep tcp netstat -anp tcp sudo lsof -n -P | grep LISTEN sudp lsof -iTCP -sTCP:LISTEN sudo netstat -tulpn nmap localhost
Restart apache2
sudo apachectl stop
Disable Apache from starting on boot
sudo launchctl unload /System/Library/LaunchDaemons/org.apache.httpd.plist
Or
System-Preferences > Users > Select your user > Start-Objects