Skip to content
Advertisement

Tag: port

Address already in use – FastAPI

I keep getting [Errno 98] Address already in use But the address is not in use. I tried to change the ip and port but It isn’t budging. uvicorn main:app –reload also tried uvicorn main:app –host=172.0.0.2 –port=5000 then it gives [Errno 99] error while attempting to bind on address (‘172.0.0.2’, 5000): cannot assign requested address I tried running a flask

How to fix “curl (56) Recv failure: Connection reset by peer” error when doing a port mapping from docker container to host machine?

I have a Angular Project running in a docker container at port 4200. I have done a port mapping from docker container’s 4200 port to my localhost 4200. I am running this on Ubuntu 16.04. When doing netstat -nltp, I get output tcp6 0 0 :::4200 :::* LISTEN My Dockerfile looks like : I expected when running curl :::4200, to

is default port numbers are alwasy 4 digit [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

error while running SOLR application

i am newbie on SOLR, i want to start my SOLR via terminal ubuntu but it always give error message : tail: cannot open ‘/var/solr/logs/solr.log’ for reading: No such file or directory i try to use this script service solr start and ./solr start but the result still same, any idea to fix this problem? Answer I fixed this increasing

RedHat on port 80

I got Apache Tomcat running some app on RedHat server, now listening on port 8081. I want the app to listen to port 80, but not working. My RedHat server not using firewall so iptables has no relavance. How can i make it work? Here is my server.xml: Answer Ports below 1024 can only be opened by a root user.

Linux Map many internal IPs to one external IP [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

How do I open a specific port on RHEL 6.4?

I’m setting up the remote connection to oracle database and it requires that the connection should be established through port 1521 by default. However, i’m getting the error repeatly: [Oracle JDBC Driver]Error establishing socket to host and port: :1521. Reason: Connection refused Checking deeper, I realize that the port 1521 cannot be connected on the local machine: telnet localhost 1521

auditing opened/closed ports on Linux

Is there an auditing tool to check which and when ports are opened and closed on Linux? My goal is to run my application and check its ports usage. lsof or netstat don’t fit because they just tell me which ports are currently opened, and looping on such command won’t give me accurate results… Answer strace will displays the bind

Squid routing SSL traffic

Good day, I have a setup in which I am routing my received packets at my Mikrotik router to a squid server. I also can see the incoming traffic with Tcpdump that it is actually ariving @ the correct port (443) on Squid Proxy server. On the next step I have iptables -t nat -A PREROUTING -p tcp –dport 443

How to find a free TCP port

How do I find a completely free TCP port on a server? I have tried the command line; but I am told the ones with a status of LISTENING are already being used. I also tried a tool called TCPView but again it only showed which TCP ports were being used. I know how to telnet to a port to

Advertisement