@Subscribe public void updateSettings(ProjectSettingsChangedEvent event){
  final ProjectSettings projectSettings=event.getProjectSettings();
synchronized (NetworkTable.class) {
    NetworkTable.shutdown();
    NetworkTable.setIPAddress(projectSettings.getPublishAddress());
  }
}

@ Subscribe public void updateSettings ( ProjectSettingsChangedEvent event ) { final ProjectSettings projectSettings = event . getProjectSettings ( ) ; synchronized ( NetworkTable . class ) { NetworkTable . shutdown ( ) ; NetworkTable . setIPAddress ( projectSettings . getPublishAddress ( ) ) ; } }
change the server address according to the project setting .
