Skip to main content

All Questions

Tagged with
38 votes
3 answers
71k views

How are source ports determined and how can I force it to use a specific port

When I connect to https://www.google.co.uk this changes to 216.58.198.228:443. Then a connection to me opens on [My IP Address]:63998. My question is how is 63998 port choosen and is there a way of ...
TheGathron's user avatar
15 votes
5 answers
16k views

What ports are used by an application [duplicate]

I'm testing an application which opens its own ports (acts as a server for these ports, hence listens at that ports) and where the same application connects to ports bound by other applications (acts ...
Baz's user avatar
  • 489
9 votes
6 answers
18k views

Why is port 1111 open, and is it safe to be?

I'm new to systems administration and have a server running a website with HTTP (at port 80), HTTPS (at port 443) and SSH (at port 22). I'm running Ubuntu 11.04. I did an Nmap port scan using my ...
nknj's user avatar
  • 193
8 votes
3 answers
65k views

What does it mean when a portscan shows a port as "tcpwrapped"?

Interesting ports on 192.168.1.76: Not shown: 998 closed ports PORT STATE SERVICE VERSION 22/tcp open ssh OpenSSH 5.2 (protocol 2.0) 62078/tcp open tcpwrapped I see tcpwrapper ...
user avatar
7 votes
1 answer
60k views

Access local webserver on port 8080 in home network using IP-Address

this is quite new to me so I hope it is clear what I try to ask. On my windows 10 pro I have installed a small application which runs as a webserver on port 8080. I can access it using localhost:8080 ...
Stephan's user avatar
  • 173
5 votes
1 answer
10k views

How does TCP handle multiple requests targeted to one port?

As a server may get many requests from clients at the same time to a particular port, for example port 80 for HTTP objects, how does the server handle simultaneous requests?
Richard's user avatar
  • 153
5 votes
3 answers
10k views

Cannot connect to guest OS from host OS

I have installed OpenSUSE on VMWare player as guest OS and my host OS is Windows XP. What I want to achieve is to send message from my host (i.e XP), say on port 7000 and receive it on a specific port ...
Bhushan's user avatar
  • 220
5 votes
2 answers
7k views

Detect what outgoing ports are bypassed by firewall

My school has a firewall which limits most outgoing ports. There're only TCP/80, TCP/443, TCP/21 allowed. Is there's a way to find out all the outgoing port allowed by the firewall? My current idea: ...
shouya's user avatar
  • 2,667
4 votes
3 answers
9k views

How to force a process transmit over UDP instead of TCP?

I 'm running an ffserver process on a Linux machine, in order to achieve video streaming via ffmpeg. However, there is a delay on video streaming. On ffserver configuration file I define Port 8090. ...
dempap's user avatar
  • 439
4 votes
1 answer
8k views

What is the purpose of ports?

I have a few questions in regard to the following explanation of ports I found. The Application layer talks to the Transport layer through a port. Ports are numbered and standard ...
Griffin's user avatar
  • 346
4 votes
1 answer
5k views

How can I know what is preventing my socket to bind to localhost:50060-50959

I am using this Python code to listen to a port on my Windows 10 system: import socket for port in (50059, 50060, 50959, 50960): try: print(socket.socket(socket.AF_INET, socket.SOCK_STREAM)....
bers's user avatar
  • 1,728
3 votes
2 answers
2k views

IPTables - Redirect traffic based on country

Is there any way how to allow TCP traffic only from specified countries on a specified port and the rest of traffic redirect to another IP/port using iptables ?
Dakado's user avatar
  • 125
3 votes
1 answer
6k views

How do networking ports work? Can I configure the ports that client and server use?

Let's say i have a "server" program listening on address 1.2.3.4:69 (i.e. remote port 69) When i connect from a "client" program to it, typically i would specify the IP address + port of the target ...
joedotnot's user avatar
  • 471
2 votes
3 answers
7k views

Is the same port acting as both client and server?

i find something strange in this netstat output. the output is taken using netstat -a -n -o -p TCP command on win 7. Proto Local Address Foreign Address State PID TCP ...
inquisitive's user avatar
2 votes
2 answers
1k views

Program to record data transmission between two computers using a TCP port

I am looking for a way to view data being transmitted over a TCP port between two computers. Is there a software package that allows this? I suppose I could script something to re-route data coming ...
Richard's user avatar
  • 951

15 30 50 per page