Arduino com port issue

I am using an uno, just recently got it, I am connecting it t my laptop but it only shows COM6 ,although my other uno works fine and it connets in any port showing respective com number . Whenever i connect my new UNO to any Port it always shows COM6.
I also get this error while uploading code.

Sketch uses 4354 bytes (13%) of program storage space. Maximum is 32256 bytes.
Global variables use 482 bytes (23%) of dynamic memory, leaving 1566 bytes for local variables. Maximum is 2048 bytes.
avrdude: ser_open(): can't open device "\\.\COM6": Access is denied.


Failed uploading: uploading error: exit status 1avrdude: ser_drain(): read error: The I/O operation has been aborted because of either a thread exit or an application request.


avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_drain(): read error: The device does not recognize the command.


avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_drain(): read error: The device does not recognize the command.


avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x03
avrdude: ser_send(): write error: sorry no info avail
avrdude: ser_recv(): read error: The device does not recognize the command.


avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 10 of 10: not in sync: resp=0x03
avrdude: ser_drain(): read error: The device does not recognize the command.


Failed chip erase: uploading error: exit status 1

refund it

I used once or twice it worked i didnt get any error but now this is happenig.

no shield, no open serial monitor/plotter?

what?

There is no relationship between a COM port and the physical USB port on the PC.

You will have to sort out the "access denied". Close serial monitor/plotter as advised.

Windows sometimes thinks that your board is something else like Bluetooth; disable that and try again.

Please use complete sentences. Explain what you don't understand.

Ok so this is quite obvious. I think you corrupted the bootloader. Which everybody has done once and never again. What exactly did you upload to the arduino? Do you get the "Windows can't recognize USB device" error "Device descriptor" failed or something like that if so you probably uploaded some bad code onto it and you need to upload a new bootloader onto the board using ICSP, or you can try the generic reset button method which is easier. Try this first. So firstly grab an innocent sketch like blink for example and then when you click on upload hold the reset button. So when arduino shows memory usage and it starts to upload release the button immediately. Try this few times if you don't get the timing exactly right it will not work.