GithubHelp home page GithubHelp logo

Comments (4)

imbyungjun avatar imbyungjun commented on July 22, 2024

You need to describe your env like JDK version, OS ...

Anyway, add the following to ${NGRINDER_HOME}/system.conf and try running it again.

controller.ip=127.0.0.1

from ngrinder.

BGHyeon avatar BGHyeon commented on July 22, 2024

sorry for late
my JDK version is 11.0.4 and mac Os is Monterey 12.5
i add system.conf in ngrinder_home but not working it...

from ngrinder.

imbyungjun avatar imbyungjun commented on July 22, 2024

Default ngrinder controller config file is located in ~/.ngrinder/system.conf. Please make sure you chage the config file.

from ngrinder.

imbyungjun avatar imbyungjun commented on July 22, 2024

@BGHyeon
Do you use a VPN or change your DNS configuration?
After trying some cases on this issue, it doesn't seem like an application bug.

First of all, the main cause of "no port is available" error is InetAddress.getLocalHost() returns wrong IP address.
Available port check tries to accquire some local port with IP and port, if InetAddress.getLocalHost() returns wrong IP address, nGrinder tries to acquire a port with wrong IP address. So, nGrinder cannot acquire any ports and then "no port
is available" error occurs.

In my case, I used a VPN and I could reproduce the issue when VPN connected or disconnected.
But, when I connected with another VPN, InetAddress.getLocalHost() starts to work properly. So, I started to suspect that this issue is related to DNS configuration. Then, I changed DNS configuration to Google DNS, after changing to Google DNS this issue did not occur.

Could you run nGrinder after changing your DNS configuration as described in here?

Or you can change /etc/hosts as described in here to solve the issue.

from ngrinder.

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.