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.
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 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
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
For Implicit FTPS connections, port 990 is the standard control channel port to initiate the connection.
With Passive FTPS the server then specifies a port to use for the data channel from a preconfigured range.
A lot of documentation also specifically mentions port 989, but doesn't say at what point this port would be used.
What is port 989 actually used for in FTPS, and is it necessary to open the server firewall on this port?
FTPS in implicit mode: An increasingly obsolete mode that requires an established SSL session prior to any exchange of data. Uses port 989 for the data channel and port 990 for the control channel.
FTPS in explicit mode (aka FTPES): Uses port 20 for the data channel and port 21 for the control channel. Both unencrypted FTP and encrypted FTPS are supported. The client and server negotiate the level of protection used. Control channel encryption is requested by sending either the AUTH TLS command or the AUTH SSL command. Data channel encryption is requested with the PROT command.
Source: https://community.infosecinstitute.com/discussion/88165/ftps-port-number-s
Port 989 is registered with IANA are shown as official port for FTPS.
In active mode, the client connects to the server on the ports above and lets the the server know what port the client wants to use.
In passive mode, the client still connects to the default port but lets the server pick which other port to use.
Source: https://www.jscape.com/blog/bid/80512/active-v-s-passive-ftp-simplified
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!