Hello Abhishek,
Where do you configure your port with the <plugin> markup? In Flexible Environment, the usual way to specify network settings is in your app.yaml configuration file, for example:
network:
instance_tag: TAG_NAME
name: NETWORK_NAME
subnetwork_name: SUBNETWORK_NAME
session_affinity: true
forwarded_ports:
- PORT
- HOST_PORT:CONTAINER_PORT
- PORT/tcp
- HOST_PORT:CONTAINER_PORT/udp
You may check related information on the "Configuring your App with app.yaml"
page.