An electrical connector includes an insulative housing, a number of terminals received in the insulative housing, an inner shell and an outer shell. The insulative housing includes a base portion and a mating portion extending from the base portion in a mating direction. The base portion includes a mounting face inclined to the mating direction. The inner shell covers the insulative housing. The inner shell includes a number of first mounting legs, and the outer shell includes a number of second mounting legs. The second mounting legs and the first mounting legs are arranged in a side-by-side way.