What is port 989 used for in FTPS? [closed] - port

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

Related

How to get metrics of kong cluster behind load balancer [closed]

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.

Why is a port necessary for running a server or database locally?

Can someone explain why using a port is necessary when running things locally?
I assume the reason is because the same software could be run remotely and in that case specifying a port would be necessary.
When a database or server is running locally, do requests from a locally running web browser really "go through the port" specified?
Good question. In fact, there are local-only communication protocols, such as pipes and UNIX domain sockets that do not actually require port numbers to operate. This is because they refer to files or other identifiers that are only valid on the computer itself.
However, most servers are designed for TCP/IP connections. TCP/IP itself specifies a port number in the protocol. It is normally intended for remote use, but when a server that is used to TCP/IP runs "on local host", it must supply a port number to satisfy the TCP protocol.
Port numbers also enable multiple servers to coexist on a single computer, all running on different ports. For a protocol without port numbers, this is achieved by using different identifiers (e.g. a filesystem file) for each server.
Some servers can operate on both TCP/IP and local sockets. For example, MySQL can accept connections both through the usual TCP port, and also through a local socket (mysql.sock). Connecting through the local socket is reserved for local users only, and may be faster on some systems.
Sometimes You may have some other software installed in your computer that may use the same port. For instance Apache and IIS: imagine you set port 8080 to IIS as default, what about if you had previously installed Apache set port 8080 ?
Another example will be if you installed Mysql Workbench and days later install XAMPP you may have trouble with the ports if you don't change one instance's port different from 3306
This is why it is necessary to specify ports even though is locally.

RabbitMQ client can't connect to remote RabbitMQ server [closed]

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!

telnet issue :Connecting To localhost...Could not open connection to the host, on port 11211: Connect failed [closed]

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.

Testing both INDY TCP Client and Server in same machine delphi

I am building a basic client server application in delphi indy 10 ;
I have set sever app with local ip and a specific port, and i set client with public
IP to client host when i am testing the application the following error i got
here
I am testing both client and server app in same machine (as i had no other option),will this cause error.
You can absolutely run a TCP client and server on the same computer.
Only one application can listen on a given port at a time, but (virtually) any number of clients can connect to that server, even from the same machine.
Did you find your router settings from the previous question?

Resources