In real time, it may happen sometimes that you deploy the code and you are not sure which enviroment or external reference address has been used .
At those situations the below is very useful.
You can view at the composite.xml file and see which place is it referring to .