Git Product home page Git Product logo

Comments (6)

manugarg avatar manugarg commented on April 28, 2024

Looks like something is already listening on port 9313. It's possible it's another instance of cloudprober; you can verify that by going to http://localhost:9313/status.

In any case, you can change cloudprober listening port by setting the environment variable CLOUDPROBER_PORT before running the docker command:

$ export CLOUDPROBER_PORT=9314

from cloudprober.

manugarg avatar manugarg commented on April 28, 2024

Closing as this is not really a cloudprober issue. It's a port conflict issue that can be resolved by the suggestion above.

from cloudprober.

tweetyss avatar tweetyss commented on April 28, 2024

I already tried "export CLOUDPROBER_PORT=9314" and do the "docker run" command again but still see the same error:

F0422 17:34:59.838048 1 cloudprober.go:178] Error initializing cloudprober. Err: error while creating listene
r for default HTTP server. Err: listen tcp :9313: bind: address already in use

from cloudprober.

tweetyss avatar tweetyss commented on April 28, 2024

$ curl http://localhost:9313/status

...
Started: Fri, 19 Apr 2019 23:09:02 UTC -- up 66h29m10.909013325s

Version:

Config: /config

Probes:

Name Type Interval Timeout Targets Probe Conf Latency Unit Latency Distribution Lower Bounds (if configured)

Surfacers:

Type Name Conf
PROMETHEUS
  <pre>&lt;nil&gt;</pre>

</td>
FILE
  <pre>&lt;nil&gt;</pre>

</td>

Servers:

Type Conf

from cloudprober.

tweetyss avatar tweetyss commented on April 28, 2024

Looks like what you said, another instance of cloudprober has run (how? I don't know) with an empty config. Is there a way to stop it?

from cloudprober.

manugarg avatar manugarg commented on April 28, 2024

@tweetyss I suggest that you search for "how to stop a process" or how to stop a docker container.

from cloudprober.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.