Applications can control ports