Sun GlassFish Communications Server Diameter Adapter 1.0 Release Notes

Solution

Specify the peer port using the --peerport option while creating a peer to avoid port clashes when configuring multiple peers on the same node.

You cannot configure multiple peers with same hostname and port number. To configure a single server supporting multiple applications, configure a single peer and create applications with list of supported application IDs.