On the 2nd generation, the dock connector is solder to the board. Check on the guide iPod Touch 2nd Generation Logic Board Replacement page 5 shows the dock connector. So you have to remove the logic board and then remove the dock connector by de-soldering it as well as the 2 prongs on the side that hold it on the logic board. Not a terrible job but it does require a steady hand, good eyes (or a magnifying lamp in my case)and good tools. Good luck and let us know how it is going.
i pod 4 charging port how to change
1.open the lcd and all screws...
2.with solidering we have to re-move the up-side points on board and battery points.........
3.then after pull the board in the frame..........
4.Then keep the safety sticker on ic and capster and dont keep the sticker on charging port........
5.give heat up to 460 degree and down side of the port
6.carefull there is on down side ic are they
7.slowly pull out
apple.com didn't help my ipod will not charge i was plugging in my ipod one day and the black piece in the charger port that holds up all pf the little metal parts that is used to charge my ipod it just came out so now like a month or two later now it will not charge because form charging it all of the piece are bent down and it is all most dead so i cant hardly use it and i hope that the charger port can be fixed so i dint loose everything or it can be put onto a nether ipod or something.