Fix #811 where port error messages were not the best