The port is usually on a small PC board - it depends on the phone. The normal fix is to replace the board with the port on it. They're cheap, but the labor to do it may not be. (This is NOT a D-I-Y project, unless you want to risk ruining the entire phone.)