1. Other devices or services are using the set port number of S7-300, which will make it impossible to use the set port configuration and change the port number of S7-300 to avoid conflicts.
2. Firewall software will prevent the use of S7-300 port configuration. Check the firewall settings and configure them accordingly.