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