Question: how to connect two computers to one internet port?
Answer: Connect one end of an Ethernet cable to the Ethernet port on the computer or Ethernet device.
Connect the other end of the Ethernet cable to the "uplink" port on the Ethernet switch. Connect the remaining Ethernet devices to the remaining ports on the switch with Ethernet cables.