add port checks for debian