In order to build a loopback connector, use the diagram appropriate for your adapter.
DB-9 RS-422
DB-25 RS-232
DB-25 RS-422
DB-25 RS-530
Click on an image or text above for a detailed diagram.