Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 11 months ago.
Improve this question
I have installed docker on Ubuntu-21.04 and I'm trying to run apache/nifi on it. I am using this command: docker run --name nifi -dp 8443:8443 apache/nifi. From the logs all seems fine:
Generated Username [24a06eea-579f-443a-ad81-b9fe95d46bd3]
Generated Password [9D3NKqhLElChcXHw0jzfO/wkT8yOV+uV]
2022-03-24 15:39:27,726 INFO [main] org.apache.nifi.web.server.JettyServer NiFi has started. The UI is available at the following URLs:
2022-03-24 15:39:27,726 INFO [main] org.apache.nifi.web.server.JettyServer https://a8917820086b:8443/nifi
The entire logs are here
But if i go at localhost:8443 I see this:
on firefox
and on chrome.
I don't know why I can't access to the UI of Nifi.
I have done all of this exactly on windows 10 and it works. Someone can help me? Thanks in advance.
You need to go to https://localhost:8443 not http://localhost:8443. By default NiFi is now secured with TLS, but 8443 is not the standard HTTPS port, thus it does not automatically redirect you to HTTPS if you only enter localhost
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 1 year ago.
Improve this question
Currently, I'm using Kong API CE on my project, and use Prometheus plugin to get metrics.
But on production environment and autoscale, behind the load balancer, how can I get metrics for all kong instance from Prometheus server?
Should I use consul in this case? Please help.
Using Prometheus plugin
Install Prometheus
Install Grafana
Enable Prometheus Plugin in Kong
Access Prometheus in your browser say at localhost:9090
Access Grafana in your browser say at localhost:3000
Set Up Port Forwards:
If Kong proxy port is now your localhost 8000 port, Eg: If you are using plain-text HTTP proxy for this purpose
Create Some Traffic for the services and routes registered
Now Access Grafana Dashboard, you should be able to see metrics related to the traffic flowing through our services.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 2 years ago.
Improve this question
I have two servers both of them running on localhost. On port 3000 it's a NextJs development server and on port 4000 i am running a Rails Api only server. I have not added any extra libraries or packages. I have a api endpoint like http://localhost:4000/products. And i have a fetch request from a NextJs page component's getServerSideProps function. I want to see how CORS works between these two servers. In development mode they are on the same domain localhost. But in production they will be different. How can i test CORS while both of the servers running on localhost?
In your /etc/hosts you can change the domain from localhost:4000 to api.example.localhost and keep the next one running in the same environment
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I am trying to fix an ssh key error to work for a deploy user with my RoR Capistrano 3.3.5 project. I have an ubuntu 14.04 server which has my public ssh key authorized.
If I type ssh root#server-address.com my ssh key works, and I am immediately logged into my server.
If I type ssh deploy#server-address.com I am prompted for a password.
I need the deploy user to use the same key and authenticate without password. What is wrong? How do I go about making this happen?
I appreciate any help you can provide, thanks!
you need to add your public key to the deploy user's authorized_keys file which is located at /home/deploy/.ssh/authorized_keys on the server.
cat ~/.ssh/id_rsa.pub | ssh user#machine "mkdir ~/.ssh; cat >> ~/.ssh/authorized_keys"
this command would work for a new sever setup too.
Closed. This question needs debugging details. It is not currently accepting answers.
Edit the question to include desired behavior, a specific problem or error, and the shortest code necessary to reproduce the problem. This will help others answer the question.
Closed 8 years ago.
Improve this question
I have a nodejs client that uses bramqp for connecting to RabbitMQ server. My client can connect to a Rabbit MQ server in localhost and works well. But it's unable to connect to a remote RabbitMQ server on other machine. I opened port 5672 in the remote server, so I think that the problem is in the configuration of rabbitMQ server. How can I solve this problem?
The problem seems the new rabbitmq access control policy
Please read this post:
Can't access RabbitMQ web management interface after fresh install
I think it can help you!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 9 years ago.
Improve this question
while Am trying to use following command
telnet localhost 11211
am getting this error
Connecting To localhost...Could not open connection to the host, on port 11211:
Connect failed
I enabled telnet.How can i overcome this error?
You should check your firewall settings (iptables --list as root or sudo for Linux), and see if there's anything possible blocking that. Check which ports are open (netstat -nl --inet) and also check running processes and find the process that you expect to be listening.
Whatever you expect to be listening on that port is probably not running, or is misconfigured.