0

Open ports of Networkless Wifi router and it's stations.

Let's suppose I have a WiFi router which has no WAN connection but has 5 devices connected including mine. Then , what might be the PORT NUMBER(S) that establishes the very basic communication between the each device and router ?

6th Apr 2022, 3:49 AM
CoderBittu
CoderBittu - avatar
8 Answers
+ 2
ftp ssh and its not only ports but you need to ask which protocols. I would watch some videos or read some books. Because you should figure out how a single device connects to a router first. what else are you going to do but share files? That's the point of connecting devices
6th Apr 2022, 10:21 AM
Slick
Slick - avatar
+ 1
Slick I am designing a Python program which should ping all addresses of devices connected to a router and the program should return valid ip address with open port names no matter whether the router has WAN connected or not. So I need to know the open ports for basic communication between router and a device so that I can use socket to get connection status of the devices connected to the router. And Yeah. I want the port number to be constant and shouldn't rely on any network outside or WAN or any HTTP protocol and then I can use conmect_ex function of Python socket connect_ex(("IP.ADDR",PORT)) And get the status of the device connected to router I have once seen that devices running HTTP server have port number 80 always open so tracking them is very easy but suppose a device doesn't have HTTP server turned on, this makess it harder to find the open port and status of that particular device because command arp -a does not always provide valid results
6th Apr 2022, 10:49 AM
CoderBittu
CoderBittu - avatar
+ 1
Slick Oh got it, the array of possibly open ports. Thanks . I am ticking your answer
6th Apr 2022, 11:06 AM
CoderBittu
CoderBittu - avatar
0
And no internet??? Look up ad hoc network
6th Apr 2022, 10:24 AM
Slick
Slick - avatar
0
Slick thanks for the code but, my question still remains unanswered I guess, I asked for the list of open port numbers between a router and a connected device. Internet availability isn't an issue this time
6th Apr 2022, 11:01 AM
CoderBittu
CoderBittu - avatar
0
You didn't look through it huh? It has a whole scan mode dedicated to port scanning 1 or multiple devices. if its on a network, it has an address. use that to scan
6th Apr 2022, 11:03 AM
Slick
Slick - avatar
0
Slick Hello Again! Well I should have asked this question earlier but... whatever... So, what kind of protocols does a router use with device instead TCP and UDP? And most importantly , what kind of protocol does router use to transmit packages over network to target device? And can I connect to a router's package transmitting protocol using sockets?
27th Aug 2022, 7:34 AM
CoderBittu
CoderBittu - avatar