The application discloses an electric connector, which comprises a shell and a base, the base is embedded in the shell, the shell has a socket, and the end of the base facing the socket is provided with a plug-in cavity; the end of the base away from the socket is provided with a containing space, the containing space is provided with a circuit board, and the circuit board is provided with a grounding terminal extending towards the containing space; the end of the grounding terminal is provided with a plug-in part facing the circuit board, the plug-in part is arranged on the circuit board, the middle section of the plug-in part is wide at both ends and narrow in the middle, and the middle section of the plug-in part is provided with a through hole; the end of the grounding terminal away from the circuit board is provided with a bent elastic abutting part, and the abutting part is arranged in
abutment with the inner wall of the rear end of the shell; the circuit board is provided with a grounding hole, and the plug-in part is arranged in the grounding hole of the grounding terminal of the circuit board. The application is applied to a network port with a
transformer and a network port without a
transformer, the grounding terminal is assembled on a PCB, and the other end is in elastic contact with an iron shell, so that automatic
assembly of the grounding terminal is facilitated,
welding is not needed, and the production efficiency is high.