Cant set COM-state

I am getting this message using Arduino Web IDE. Please help how to solve this

avrdude: Version 6.3-20190619

Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

Copyright (c) 2007-2014 Joerg Wunsch

System wide configuration file is "C:\Users\MODHU BAGANI\AppData\Local\Arduino15\packages\arduino\tools\avrdude\6.3.0-arduino17/etc/avrdude.conf"

Using Port : COM4

Using Programmer : arduino

Overriding Baud Rate : 115200

avrdude: ser_open(): can't set com-state for "\.\COM4"

avrdude done. Thank you.

An error occurred while uploading the sketch

Your topic was Moved to it's current location / section as it is more suitable.

Could you also take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

Ensure you have NOTHING connected to pins D0 & D1.

Also please read the posts at the top of this section as there are some web editor specific help and hints.

(deleted)

Thanks it worked after restarting the PC.

Now I am getting new message

avrdude: verifying ...

avrdude: 4540 bytes of flash verified

avrdude: safemode: lfuse reads as 0

avrdude: safemode: hfuse reads as 0

avrdude: safemode: efuse reads as 0

avrdude: safemode: Fuses OK (E:00, H:00, L:00)

avrdude done. Thank you.

create.txt (6.16 KB)

(deleted)

But Im trying to run stepper connected to board . Its not working.