Connect relay to server through NAT.

Connect relay to server through NAT.

The webNetwork Server is handing back its internal IP Address to the webNetwork Relay when the relay tries to communicate. The relay cannot contact the server on the internal IP address because it is behind the NAT. The Server needs to be configured to pass the DNS name for the RMI Registry. 

On the webNetwork Server run the webNetwork Server Management Console (8090 console). 

Click on the Settings tab to go to the Settings page. 

Enter the DNS name of the webNetwork server with the service port on the Service Port line ( i.e. - wnserver.example-cloud.com:4500 ). 

Enter the DNS name of the webNetwork server with the registry port on the Registry Port line ( i.e. - wnserver.example-cloud.com:1099 ). 

Click Save at the top of the page. 

Click the Shutdown button to shutdown the webNetwork service. 

Make sure that on that server that wnserver.example-cloud.com resolves to the physical IP number on that box via dns or host file entry. 
Start webNetwork back up. 


Next on each of the standalone relay servers do the same thing but use their machine, such as wnrelay1.company.com. 
For each of the services, such as Portal Service, Admin Service, DP Service, Data Exchange Server, Report Service, File Service, and pipeline service, put in wnserver.example-cloud.com:1099 

Make sure that on that server that wnrelay1.example-cloud.com resolves to the physical IP number on that box via dns or host file entry. 
Next make sure that wnserver.example-cloud.com resolves to the proper ip address to get back to the webNetwork server via dns or host file entry. 

Click the Shutdown button to shutdown the webNetwork service on the relay. 
Start webNetwork back up. 

It should now be able to communicate with the webNetwork server over the NAT connection. They key is that DNS names are used so that they exchange dns names and not physical IP numbers. 

With webNetwork 6 we have introduced a feature called PUSH which requires that a Relay can talk to a loader and the loaders can talk to the relay. Because of this, the same steps as above need to be completed on each relay also.