Issue With Software Serial Example From ESPSoftwareSerial Library In Arduino

Nothing is connected to software serial port..is it compulsory to connect?,i want that should display on my com port without connecting anything to software serial port by changing any configuration in port pin for software serial,is it possible?