Skip to content

Find the route across the machine, but no response #256

@badounan

Description

@badounan

I have two physical machines. IP addresses are 192.168.0.10 and 192.168.0.11 respectively.

Start consul sever and fabio on 192.168.10.

Start the consul client and http server on 192.168.0.11. The json registered to consul's service is as follows:
{"service": {"id": "sampleservice","name":"sampleservice","tags": ["urlprefix-/foo"],"address": "192.168.0.11","port": 8088,"checks": [{"deregisterCriticalServiceAfter": "5m","http": "http://192.168.0.11:8088/foo","interval": "10s"}]}}

Http service is running normally in consul.

But visit http://192.168.0.10:9999/foo, has been no response, there is no log output.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions