problem seeing entries in tools->ports menu

we have a sketch that compiles but won't upload likely because the tools->ports menu is greyed out and shows no ports. This is true with no board connected and also with a board connected.

What could be the problem preventing visible ports? Is it a computer setup problem or is it related to the specific board connected to the Pc where the IDE is running?

we have used both

Serial.begin(9600);
and
Serial.begin(11520);

Here is what we get when we do an upload:

Archiving built core (caching) in: C:\Users\RAYVOI~1\AppData\Local\Temp\arduino_cache_704331\core\core_esp8266_esp8266_nodemcuv2_CpuFrequency_80,FlashSize_4M1M,LwIPVariant_v2mss536,Debug_Disabled,DebugLevel_None____,FlashErase_none,UploadSpeed_9600_dcb6a74cdee84d57a16dc9c19f253312.a
Sketch uses 261504 bytes (25%) of program storage space. Maximum is 1044464 bytes.
Global variables use 32908 bytes (40%) of dynamic memory, leaving 49012 bytes for local variables. Maximum is 81920 bytes.
error: Failed to open COM1
error: espcomm_open failed
error: espcomm_upload_mem failed
error: espcomm_upload_mem failed

DRZupdoc:
we have a sketch that compiles but won't upload likely because the tools->ports menu is greyed out and shows no ports.

Do you see a new device appear under Windows Device Manager after you plug in the board?