You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

IP addresses for service bindings

Sample host configuration

Hostname

IP address

Network Interface

localhost

127.0.0.1

loopback

host1

192.168.1.1

ethernet

host2

192.168.0.1

wireless

IP address bindings

Binding URI

Listen on IP addresses

Deployed URI for the clients

Note

/MyService

127.0.0.1
192.168.1.1
192.168.0.1

http://192.168.1.1:8080/MyService\\

Should we allow more than one deployed URI?

http://localhost:8080/MyService


127.0.0.1

http://localhost:8080/MyService


The service can only be accessed locally

http://127.0.01:8080/MyService


127.0.0.1

http://127.0.01:8080/MyService


The service can only be accessed locally

http://192.168.1.1:8080/MyService


192.168.1.1

http://192.168.1.1:8080/MyService

The service can only be accessed from the ethernet interface

http://host1:8080/MyService                     &nbsp

;

192.168.1.1

http://host1:8080/MyService\\

The service can only be accessed from the ethernet interface

http://192.168.0.1:8080/MyService\\

192.168.0.1

http://192.168.0.1:8080/MyService

The service can only be accessed from the wireless interface

http://host2:8080/MyService                     &nbsp

;

192.168.0.1

http://host2:8080/MyService

The service can only be accessed from the wireless interface

http://0.0.0.0:8080/MyService                     &nbsp

;

127.0.0.1
192.168.1.1
192.168.0.1

http://192.168.1.1:8080/MyService

Should we allow more than one deployed URI?

  • No labels