//set the new address regardless wheter it will succeed or not.
// The discover will eventually check wheter the announced ip matches the one that it sees.
peer.peerBean().serverPeerAddress(serverAddress);
// test with discover again
DiscoverBuilder builder = new DiscoverBuilder(peer).peerAddress(futureNAT.reporter());
builder.start().addListener(new BaseFutureAdapter<FutureDiscover>() {
@Override
public void operationComplete(FutureDiscover future) throws Exception {
if (future.isSuccess()) {
//UPNP or NAT-PMP was successful, set flag
peer.peerBean().serverPeerAddress(serverAddress.changePortForwarding(true));