Port was designed to prolong the shelf-life of wine, but that doesn't mean it will stay fresh forever once you've opened it.
LBV (or late-bottled vintage) port can last about three weeks if unfiltered. But if it's filtered, you're looking at maybe 12 days, tops. Older Colheita port only lasts up to four days ...