[GH-ISSUE #512] Find port #429

Closed
opened 2026-02-28 01:25:14 +03:00 by kerem · 4 comments
Owner

Originally created by @gufur on GitHub (Feb 11, 2018).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/512

Hi! As many have said before me "Exelent work".
I want to receive and send UDP messages. For that I need the port number, Udp.begin(localUdpPort);. Is there a function under wifimanager to get the port, or have you got any other advice to handle sending and receiving messages?
/ Gunnar

Originally created by @gufur on GitHub (Feb 11, 2018). Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/512 Hi! As many have said before me "Exelent work". I want to receive and send UDP messages. For that I need the port number, Udp.begin(localUdpPort);. Is there a function under wifimanager to get the port, or have you got any other advice to handle sending and receiving messages? / Gunnar
kerem closed this issue 2026-02-28 01:25:14 +03:00
Author
Owner

@gufur commented on GitHub (Feb 11, 2018):

PS. When you log on to a network via the wifimanager. Is it possible to specify a port for listening on. Or is the 4210 some how locked to ESP8266 ???

<!-- gh-comment-id:364753138 --> @gufur commented on GitHub (Feb 11, 2018): PS. When you log on to a network via the wifimanager. Is it possible to specify a port for listening on. Or is the 4210 some how locked to ESP8266 ???
Author
Owner

@tablatronix commented on GitHub (Feb 15, 2018):

What port ?

<!-- gh-comment-id:366034270 --> @tablatronix commented on GitHub (Feb 15, 2018): What port ?
Author
Owner

@gufur commented on GitHub (Feb 16, 2018):

I found out that the default port is 4210. It is the same port recommended
when you hard code SSID and password. When use the hard coded way you can
choose whatever port you feel like. I would like the same possibility in
the wifimanager. Coding the 8266 you might need to use the port number
and used IP address in the coded application. Thats why I would like a
"command" to ask for that kind of data.
I am not an expert in network handling but when I designed my own
application, "behind" the server, I needed the port number. Luckily enough
it was the default number so I solved it.
/ Gunnar

2018-02-15 20:24 GMT+01:00 Shawn A notifications@github.com:

What port ?


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/tzapu/WiFiManager/issues/512#issuecomment-366034270,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AINycJEjzPKxMzm9qTqp9gRboKXmOOToks5tVIRlgaJpZM4SBT7p
.

--
Gunnar Furugård
SW Management and Design
(+46) (0)707 75 66 23

<!-- gh-comment-id:366190218 --> @gufur commented on GitHub (Feb 16, 2018): I found out that the default port is 4210. It is the same port recommended when you hard code SSID and password. When use the hard coded way you can choose whatever port you feel like. I would like the same possibility in the wifimanager. Coding the 8266 you might need to use the port number and used IP address in the coded application. Thats why I would like a "command" to ask for that kind of data. I am not an expert in network handling but when I designed my own application, "behind" the server, I needed the port number. Luckily enough it was the default number so I solved it. / Gunnar 2018-02-15 20:24 GMT+01:00 Shawn A <notifications@github.com>: > What port ? > > — > You are receiving this because you authored the thread. > Reply to this email directly, view it on GitHub > <https://github.com/tzapu/WiFiManager/issues/512#issuecomment-366034270>, > or mute the thread > <https://github.com/notifications/unsubscribe-auth/AINycJEjzPKxMzm9qTqp9gRboKXmOOToks5tVIRlgaJpZM4SBT7p> > . > -- Gunnar Furugård SW Management and Design (+46) (0)707 75 66 23
Author
Owner

@tablatronix commented on GitHub (Feb 16, 2018):

wifimanager doesn't do anything with ports. What ports are you talking about ?
dnsserver?

<!-- gh-comment-id:366240594 --> @tablatronix commented on GitHub (Feb 16, 2018): wifimanager doesn't do anything with ports. What ports are you talking about ? dnsserver?
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/WiFiManager#429
No description provided.