Installing InfluxDB for Windows


#1

I’m having trouble installing Influx for Windows, i tried running it using Go but still doesnt work for my pc.

By any chance someone can provide a tutorial on how to install it??


#2

Please bear in mind that Windows support for InfluxDB is considered experimental:

https://www.influxdata.com/blog/running-the-tick-stack-on-windows/


#3

CaptureThis is what I’m getting after I run the influxd file and then the local host wont connect, any advice please?


#4

Greetings,

It seems the port you are trying to bind your influxdb instance to is already in use. (is another instance of influxdb already running in the background or as a service?)

Edit your config and change port 8088 to another then try again.


#5

I think there is an InfluxDB instance at the services but it is not running the moment im trying to run Influxd and now it keeps sending this error "No connection could be made because the target machine actively refused it. and it is referring to the localhost:9092 when in configuration file i have 8088.

Im very confused as to how i can get InfluxDB up and running, i could really use some help.

Thank you in advance


#6

Would using Docker work for your use case? Or do you need to have the database installed on Windows?


#7

In the TICK stack universe, localhost:9092 would normally be where you would have Kapacitor running.

I’d shut all the TICK stack processes down and see if any other processes are running on 8088 first.

Also, it looks like you are trying to run a nightly? (1.7.0 isn’t GA). Grab a GA build from:
https://www.influxdata.com/downloads


#8

Im trying to run the Tick Stack but it is not working for me as the command line cant find any browser in the pc and also it just cant connect to the localhost server in the browser.

can you please help because im pretty confused on how store data through java application, and I’m running Influx and all its components one by one in command line


#9

You’re not providing enough information for us to help troubleshoot. The more details you include about what you’ve already tried, the errors your seeing, and your particular configuration, the better we’ll be able to assist you.

How are you installing InfluxDB? Where are you installing it to?
In your screenshot, InfluxDB is using port 8088. Why are you changing the configuration to use port 8088?
What does “the command line cant find any browser in the pc” mean?
Can you connect to InfluxDB using the CLI?
What do you mean by “it cant connect to the localhost server in the browser”? localhost is a hostname that refers to the computer. If you try connecting to localhost from the browser, it will send you to the default port for HTTP, port 80. None of the components of the TICK stack use this port. When you run Chronograf, it runs on port 8888, so you can connect to it from the same computer using http://localhost:8888.

Did you follow the instructions in the blog post? At what step did you run into issues?


#10

Okay so apparently there was a previous install of InfluxDB in my engine, tried deleting all the files but couldnt delete it, then im trying to run each component on its own, kapacitor, influx, telegraf, influxd, chronograf and then i can access the localhost:8888.
Tried as shown in the example: https://www.influxdata.com/blog/running-the-tick-stack-on-windows/
Im using the default configuration but i tried many other ways since it wasnt working.

When you call ./sandbox up it load everything and is ready to launch, but if i was running cmd in administrator it would open the links in browser but could not connect to them, “localhost refused to connect”.
If im just running a simple docker and running sandbox up, then it loads as in the screenshot that i attached.


Now when starting each component on its own cmd, i can go to localhost:8888 and i can use chronograf but it is kind of limited as i do not have a host lists.

Im new to this and im trying to learn more and fast on how i can send data to my InfluxDB from my Java application so if you have any advice or articles that can help me through this would be perfect.

Thank you for your help!