A server with an improved connecting port is provided. The server comprises a casing, a fastening module and a connecting port. The fastening module is disposed in an internal receiving space of the casing and further comprises a fastening base plate with a first through hole, a first fastening plate with a second through hole, and a second fastening plate with a third through hole. The connecting port has two ends connected to two engaging wings, respectively. The connecting port is inserted into the first through hole, the second through hole, and the third through hole. The engaging wings are embedded in the second through hole and held by and between the fastening base plate and the second fastening plate.