I opened network settings in PC where my stm is showing.
Opened Ethernet status.
Opened Ethernet Properties.
Opened Properties of Internet Protocol Version 4 (TCP/IP4)
Changed the option from Obtaining auto address to Manual setting by keeping 192.168.2.1
Subnet 255.255.255.0