Building a trade port on every planet is usually a bad idea from the trade chain perspective. You have to manually snake it out. If you had a chain A-B-C-D-E, but there is a route from A-C-E, your chain will use that one. Thus if possible you'd want to make the chain A-B-D-E, so you don't build a trade port at C.
Now you can argue this is a bad way to do it, but its how it works.