Skip to content

Commit

Permalink
Fixed setPublicAddress() call example. The method takes just one Stri…
Browse files Browse the repository at this point in the history
…ng argument
  • Loading branch information
kwart committed Oct 26, 2017
1 parent db89a97 commit d3b64f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/OtherNetworkConfigurations.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ All network related configurations are performed via the `network` element in th
```java
Config config = new Config();
config.getNetworkConfig()
.setPublicAddress( "11.22.33.44", "5555" );
.setPublicAddress( "11.22.33.44:5555" );
```


Expand Down Expand Up @@ -380,4 +380,4 @@ config.getNetworkConfig().getJoin().getMulticastConfig().setEnabled(false);
// perform other configuration

Hazelcast.newHazelcastInstance(config);
```
```

0 comments on commit d3b64f5

Please sign in to comment.