public class Server extends Object
127.0.0.1 foo.com, bar.com
Then type https://foo.com:8080 or https://bar.com:8080 in the web browser
and make sure the server uses different certificates for these hosts.
If you try to reach the server using different host name (like localhost) -
the connection will be immediately terminated.| Constructor and Description |
|---|
Server() |
public static void main(String[] args)
Copyright © 2020 Oracle Corporation. All Rights Reserved.