Kibana Windows 10 : EACCES permission denied - windows

I try to use Kibana on Windows 10 (yeah, I know).
I think I put both yml right:
elasticsearch uri: localhost:9201
kibana uri: localhost:5601
When I start Kibana in Windows I get:
{"type":"log","#timestamp":"2019-03-06T20:25:28Z","tags":
["fatal","root"],"pid":2844,"message":"{
Error: listen EACCES: permission denied 127.0.0.1:5601\n
at Server.setupListenHandle [as _listen2] (net.js:1260:19)\n
at listenInCluster (net.js:1325:12)\n
at GetAddrInfoReqWrap.doListen (net.js:1458:7)\n
at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:62:10)\n
code: 'EACCES',\n
errno: 'EACCES',\n
syscall: 'listen',\n
address: '127.0.0.1',\n
port: 5601 }"}
I tried to setup permission to full access on the kibana.bat file.
Any help appreciated!

Hi seems your port is already in use.
Also open your kibana URL to check whether it is assigned already.
Check your port and kill it inorder to use.
OR
Open your kibana config yaml file, uncomment the port info and change the port.
I had the similar issue and got solved by trying this way. Hope it helps.

Related

Amplify init error on Win10 node.js command prompt

I have created an AdministratorAccess user via
amplify configure
and I did verified my AWS account completely, but I still get this error
Initializing project in the cloud...An error occurred when creating the CloudFormation stack
× Root stack creation failed
init failed
Error: connect ETIMEDOUT 54.239.29.24:443
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1157:16) {
errno: -4039,
code: 'TimeoutError',
syscall: 'connect',
address: '54.239.29.24',
port: 443,
time: 2022-02-25T07:55:57.713Z,
region: 'us-east-1',
hostname: 'cloudformation.us-east-1.amazonaws.com',
retryable: true
}
My company is using proxy to guarantee security, so could there be something about cli proxy setting?
Well, it is the proxy that prevents me from accessing AWS,
My solution is to type these commands in win10 cmd
setx HTTP_PROXY http://username:password#proxy.example.com:1234
setx HTTPS_PROXY http://username:password#proxy.example.com:5678
You can read more in
https://docs.aws.amazon.com/cli/latest/userguide/cli-configure-proxy.html

Can’t able to access kibana dashboard

I am able to connect elasticsearch. However, I am unable to access kibana on 5601. Can anyone please help out this to work? Thanks in advance.
In the kibana.yml file, I have modified the server.host parameter to point to my domain.
Elasticsearch Version: 7.7.0
Kibana Version: kibana-7.7.0-1.x86_64
OS: Centos 7
JAVA Version: 11
kibana.yml
server.port: 5601
server.host: "my_domain"
elasticsearch.hosts: ["http://my_domain:9200"]
Kibana Logs
{"type":"log","#timestamp":"2020-06-02T14:08:03Z","tags":["warning","plugins-discovery"],"pid":2844,"message":"Expect plugin \"id\" in camelCase, but found: apm_oss"}
{"type":"log","#timestamp":"2020-06-02T14:08:03Z","tags":["warning","plugins-discovery"],"pid":2844,"message":"Expect plugin \"id\" in camelCase, but found: file_upload"}
{"type":"log","#timestamp":"2020-06-02T14:08:03Z","tags":["warning","plugins-discovery"],"pid":2844,"message":"Expect plugin \"id\" in camelCase, but found: triggers_actions_ui"}
{"type":"log","#timestamp":"2020-06-02T14:08:09Z","tags":["info","plugins-service"],"pid":2844,"message":"Plugin \"infra\" has been disabled since some of its direct or transitive dependencies are missing or disabled."}
{"type":"log","#timestamp":"2020-06-02T14:08:27Z","tags":["warning","plugins-discovery"],"pid":2941,"message":"Expect plugin \"id\" in camelCase, but found: apm_oss"}
{"type":"log","#timestamp":"2020-06-02T14:08:27Z","tags":["warning","plugins-discovery"],"pid":2941,"message":"Expect plugin \"id\" in camelCase, but found: file_upload"}
{"type":"log","#timestamp":"2020-06-02T14:08:27Z","tags":["warning","plugins-discovery"],"pid":2941,"message":"Expect plugin \"id\" in camelCase, but found: triggers_actions_ui"}
{"type":"log","#timestamp":"2020-06-02T14:08:32Z","tags":["info","plugins-service"],"pid":2941,"message":"Plugin \"infra\" has been disabled since some of its direct or transitive dependencies are missing or disabled."}
{"type":"log","#timestamp":"2020-06-02T14:08:35Z","tags":["fatal","root"],"pid":2941,"message":"{ Error: listen EADDRNOTAVAIL: address not available localhost:5601\n at Server.setupListenHandle [as _listen2] (net.js:1263:19)\n at listenInCluster (net.js:1328:12)\n at doListen (net.js:1461:7)\n at process._tickCallback (internal/process/next_tick.js:63:19)\n code: 'EADDRNOTAVAIL',\n errno: 'EADDRNOTAVAIL',\n syscall: 'listen',\n address: 'localhost',\n port: 5601 }"}
Kibana runs on port 5601 by default. This error message says that, when Kibana tried to start up & bind to port 5601, it couldn't because something else was already bound to port 5601.
Check if some application is already bound to port 5601. If yes, Try
another port.
If No, Then It would be easy to investigate the issue, if you could attach the contents of your /etc/hosts file.

hortonworks sandbox: connection denied

how can I connect to hortonworks' sandbox (2.5) via ssh?
ssh maria_dev#127.0.0.1
I got the message: Permission denied, please try again
I sorted it out. It was necessary to put the port at the end.
ssh maria_dev#127.0.0.1 -p 2222

Getting errors trying to connect to my sites FTP account from Filezilla

I'm getting the following error when I try to connect to my FTP account in Filezilla using the given cPanel FTP configuration. I've gone ahead and double checked it and tried entering it manually but I continue to get the same error.
Connection attempt failed with "EAI_NONAME - Neither nodename nor servname provided, or not known".
Everything I find tells me that something may be wrong in how I'm entering something but I'm sure that I am not. I'm unable to figure out this and I've worked with Filezilla and connecting to many other FTP accounts using the FTP configs in cPanel successfully.
Example FTP settings:
Host: ftp.address.com
Protocol: FTP
Encryption: Use explicit FTP over TLS if available
Logon Type: Normal
User: user#address.com
Password: ************
I've triple-checked the password and tried resetting it a few times in the cPanel.
I've tried removing the ftp. part in front of the host name to someone elses suggestions but I then get the following error:
Connection attempt failed with "ECONNREFUSED - Connection refused by server".
I'm at a lost and I can't figure out how to connect to my site. Any help is appreciated. Thanks.
Please check if your FTP server is actually working or listening. Connection refused by the server means that FTP server is not up and running. You can try to do a telnet ftp-server-ip-address 21 and see if you are able to connect or not.
Issue via ssh:
systemctl restart pure-ftpd and then systemctl status pure-ftpd to see if your ftp server is actually started. Additionally you can issue:
nestat -tunlp and check the list to see if you see the ftp service listening to the port 21. You should see an entry like this one:
tcp 0 0 0.0.0.0:21 0.0.0.0:* LISTEN 8788/pure-ftpd (SER
You can restart the ftp server from WHM as well
for connecting to Cpanel through filezilla ftp client, i think this is how you should set the required things:
host: address.com
(no need to add ftp in the beginning)
User: user#address.com
Password: ************
Note that this user should be active in FTP Account.

Windows 8.1 MongoDB 27017 errno: 10061 "Connection couldnt be made Target machine actively refuses it"

Full list of error:
C:\Program Files\MongoDB\Server\3.0\bin>mongo.exe
MongoDB shell version: 3.0.6
connecting to: test
2015-10-25T11:26:55.350+0200 W NETWORK Failed to connect to 127.0.0.1:27017, reason: errno:10061 No connection could be made because the target machine actively refused it.
2015-10-25T11:26:55.353+0200 E QUERY Error: couldn't connect to server 127.0.0.1:27017 (127.0.0.1), connection attempt failed
at connect (src/mongo/shell/mongo.js:179:14)
at (connect):1:6 at src/mongo/shell/mongo.js:179
exception: connect failed
Service is running fine:
C:\Program Files\mongodb\Server\3.0\bin\mongod.exe --service --config D:\Documents\Work\mongodb\mongod.cfg
I saw already solutions here but nothing helped
netstat.exe -0 and netstat.exe -any dosen't show 27017 port as used by some App or process.
I have this mongod.cfg file
systemLog:
destination: file
path: D:\Documents\Work\mongodb\log\mongod.log
storage:
dbPath: D:\Documents\Work\mongodb\db
net:
bindIp: 127.0.0.1
port: 28018
But MongoDB still connects to same 27017 port
What i have missed?
The client does not know that you want to connect to a server on a non-default port.
Connect using the --port parameter:
mongo.exe --port 28018
Or just let the server listen on the default port.
Execute the following steps:
Go to control panel
Click program and features
Select mongodb
Right click
Repair it
Open your shell(cmd)
Type _ "C:\Program Files\MongoDB\Server\4.0\bin\mongo.exe"
Enter
Done

Resources