Trying to connect arduino mega , but port is not available, i tried everything , but system doesnt see it
Make sure the USB cable is fully inserted into the Mega and your computer.
Try a different USB cable. You might be using a damaged, defective, or charge-only cable.
Try removing all external components/wiring/shields/etc. from your Mega.
Make sure your Mega is not sitting on an conductive objects like a metal tabletop, bare wires, or coins.
Does your board LED blink once after double-tapping the reset button?