service resolving example
fix the random port version