Get a tube of epoxy putty. If it's just a small gap, it'll fill it fine and you may not even notice it. It sticks to plastic (and just about everything else) like crazy, you can machine it, and you can probably even use it to attach your port to the cabinet. Can't say for sure about the last part, without seeing exactly how you are going about it, though.