Why in the mail there is a link with the local IP address of the server?
Should display the remote IP address.
I believe this is stored in the config.php file. The config.php file can be found in the SugarCRM root directory on the file system. Once you open the file, search for the site_url and see if the IP address is listed there.
If it is, you can update it in the config file, or, better yet, update it in the config_override.php file by entering the following line:
$sugar_config['site_url'] = 'http://your_server_name/';
Retrieving data ...