{
try{
/* use public port for internal port */
natDevice.addPortMapping( tcp, port, port );
} catch( Exception e) {
throw( new UPnPException( "addPortMapping failed", e ));
}
synchronized( this ){
/* Find and remove old mapping, if any */
Iterator it = mappings.iterator();