Listen to 5001 but no client show up
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Listen to 5001 but no client show up
Hello people,
I have two macOS 13.7.8 Ventura machines. In both is Universal Media Server running. One connects clients well the other one doesn't show any clients. Both have DHCP with manual IP's.
Running nettop both show 5001 tcp listen. (I didn't run both at the same time) I can't find the error. Someone an idea?
I have two macOS 13.7.8 Ventura machines. In both is Universal Media Server running. One connects clients well the other one doesn't show any clients. Both have DHCP with manual IP's.
Running nettop both show 5001 tcp listen. (I didn't run both at the same time) I can't find the error. Someone an idea?
Re: Listen to 5001 but no client show up
Your logs were packed too early so it is only showing UMS starting up. As soon as it was able to detect renderers they were zipped up.
I did see some odd things in your UMS.conf. Nearly every line is duplicated
I also see that you have only allowed only 2 renderers and set the default renderer to VLC.
Its best to leave these as default to allow UMS pick the right one. This will allow other types of devices to be detected and use the appropriate conf besides them 2.
I suggest you delete /Users/air/Library/Application Support/UMS/UMS.conf while UMS is not running and then set everything up again when starting UMS again.
Most settings were at default so won't take long.
If you have 2 DHCPs they will conflict with each other and be unable for devices connected to that DHCP from communicating with the devices connected to the other one.
DHCP is usually controlled in your router.
I know you can connect another router to extend the network but you have to turn of its DHCP for UMS to see anything connected to the extended network as it all needs to be on the same subnet.
I don't know about Macs and very little about networking, but having only 1 DHCP to manage the IPs should fix this.
I did see some odd things in your UMS.conf. Nearly every line is duplicated
Code: Select all
Cred.path = /Users/air/Library/Application Support/UMS/UMS.cred
cred.path = /Users/air/Library/Application Support/UMS/UMS.cred
language = en-US
engines = FFmpegVideo,MEncoderVideo,tsMuxeRVideo,VLCVideo,FFmpegAudio,tsMuxeRAudio,FFmpegHlsVideo,FFmpegWebVideo,VLCWebVideo,VLCVideoStreaming,MEncoderWebVideo,VLCAudioStreaming,DCRaw,youtubeDl
engines = FFmpegVideo,MEncoderVideo,tsMuxeRVideo,VLCVideo,FFmpegAudio,tsMuxeRAudio,FFmpegHlsVideo,FFmpegWebVideo,VLCWebVideo,VLCVideoStreaming,MEncoderWebVideo,VLCAudioStreaming,DCRaw,youtubeDl
engines_priority = FFmpegVideo,FFmpegHlsVideo,MEncoderVideo,tsMuxeRVideo,VLCVideo,FFmpegAudio,tsMuxeRAudio,FFmpegWebVideo,youtubeDl,VLCWebVideo,VLCVideoStreaming,MEncoderWebVideo,VLCAudioStreaming,DCRaw
engines_priority = FFmpegVideo,FFmpegHlsVideo,MEncoderVideo,tsMuxeRVideo,VLCVideo,FFmpegAudio,tsMuxeRAudio,FFmpegWebVideo,youtubeDl,VLCWebVideo,VLCVideoStreaming,MEncoderWebVideo,VLCAudioStreaming,DCRaw
was_youtube_dl_enabled_once = true
was_youtube_dl_enabled_once = true
hide_advanced_options = false
hide_advanced_options = false
scan_shared_folders_on_startup = false
scan_shared_folders_on_startup = falseCode: Select all
selected_renderers = LG, VLC
renderer_default = VLC for iOS or macOSI suggest you delete /Users/air/Library/Application Support/UMS/UMS.conf while UMS is not running and then set everything up again when starting UMS again.
Most settings were at default so won't take long.
If you have 2 DHCPs they will conflict with each other and be unable for devices connected to that DHCP from communicating with the devices connected to the other one.
DHCP is usually controlled in your router.
I know you can connect another router to extend the network but you have to turn of its DHCP for UMS to see anything connected to the extended network as it all needs to be on the same subnet.
I don't know about Macs and very little about networking, but having only 1 DHCP to manage the IPs should fix this.
Logs are important for us to help, Please follow This Link before asking for support. Just a forum cleaner, Will help if I can but no expert.
Re: Listen to 5001 but no client show up
The hint with the two DHCP's solved the problem. At least I think so. I had to disable DHCP for IPv6 at the main router. Because i have DHCP enabled at the access point. Although the TP-link access point has only IPv4 to configure.
I deleted also the duplicated lines in the .conf file.
Render select is ok. Because only LG and VLC connects to UMS.
Thanks mik
I deleted also the duplicated lines in the .conf file.
Render select is ok. Because only LG and VLC connects to UMS.
Thanks mik
Re: Listen to 5001 but no client show up
You said "Because i have DHCP enabled at the access point".
You should not have DHCP enabled on your access point.
It appears that the device running UMS, has an IP of 192.168.0.107.
That would indicate that your router would most likely have an IP of 192.168.0.1
Your DHCP server (most likely being done by your router, should be the only DHCP server on your network and that controls all the routing and IP addresses.
You can setup your access point as "dynamic" in the LAN settings (on the access point) which means the access point will have a IP address as allocated by the DHCP server.
You can also manually give your access point a fixed IP in the 192.168.0.2 to 192.168.0.254 range.
If you do setup your access point with a fixed IP (like: 192.168.0.2 or 192.168.0.3 etc), you need to restrict the DHCP range on your router to stop your routers DHCP from trying to hand out the access points IP to another device.
EG: In your routers DHCP setting, you would give it a DHCP range of something like: 192.168.0.11 to 192.168.0.254.
I do see a lot of issues where people have an access point and it is setup as a router/access point which is performing routing functions and also acting as a DHCP server.
A setup like that will always give you issues.
Your one and only DHCP server (on your main router most likely), should be the only DHCP server on your network which controls all the routing and IP addresses.
All your access point should be doing is passing on these IP addresses from your router to the devices connected to your access point.
Cheers
You should not have DHCP enabled on your access point.
It appears that the device running UMS, has an IP of 192.168.0.107.
That would indicate that your router would most likely have an IP of 192.168.0.1
Your DHCP server (most likely being done by your router, should be the only DHCP server on your network and that controls all the routing and IP addresses.
You can setup your access point as "dynamic" in the LAN settings (on the access point) which means the access point will have a IP address as allocated by the DHCP server.
You can also manually give your access point a fixed IP in the 192.168.0.2 to 192.168.0.254 range.
If you do setup your access point with a fixed IP (like: 192.168.0.2 or 192.168.0.3 etc), you need to restrict the DHCP range on your router to stop your routers DHCP from trying to hand out the access points IP to another device.
EG: In your routers DHCP setting, you would give it a DHCP range of something like: 192.168.0.11 to 192.168.0.254.
I do see a lot of issues where people have an access point and it is setup as a router/access point which is performing routing functions and also acting as a DHCP server.
A setup like that will always give you issues.
Your one and only DHCP server (on your main router most likely), should be the only DHCP server on your network which controls all the routing and IP addresses.
All your access point should be doing is passing on these IP addresses from your router to the devices connected to your access point.
Cheers
Re: Listen to 5001 but no client show up
Thanks boss!
The problem is... I don't trust my main router!! It's a Huawei and provided by my Internet Provider with fiber-cable access. I can't easily replace it and I want to use it only as a modem. But it has no function as modem only. And the DNS fields are grayed out. So I disabled all DHCP settings and let it do by the second router which I have to set as an access point otherwise it doesn't work. All the Ethernet machines and WIFI goes thru this access point. I don't know how to do it any better.
The problem is... I don't trust my main router!! It's a Huawei and provided by my Internet Provider with fiber-cable access. I can't easily replace it and I want to use it only as a modem. But it has no function as modem only. And the DNS fields are grayed out. So I disabled all DHCP settings and let it do by the second router which I have to set as an access point otherwise it doesn't work. All the Ethernet machines and WIFI goes thru this access point. I don't know how to do it any better.
Re: Listen to 5001 but no client show up
If you have disabled DHCP on the ISP router it is OK to have it enabled on the access point.
The main thing is to only have one device controlling the DHCP.
The other thing is to only have one device performing the routing functions.
Otherwise you get a "double NAT" situation which is not good.
https://kb.netgear.com/30186/What-is-do ... -is-it-bad
It's hard to say but it sounds like the ISP router may not be performing NAT services.
Usually with these ISP supplied routers, there are two logins. One is a user login which only allows you to modify certain settings.
The other which the ISP does not usually give out, gives full control.
I have a fiber router acting as a modem only with WiFi, DHCP, routing and NAT disabled. That is connected to my Edgerouter which performs routing and NAT functions and I have a linux server which performs DHCP functions.
I just contacted my ISP and requested that their router be configured just as a modem and they did that.
Perhaps if you asked your ISP they would do that for you as well.
If they would do that, you could then setup your access point as the router.
What is the brand and model of your access point?
Cheers
The main thing is to only have one device controlling the DHCP.
The other thing is to only have one device performing the routing functions.
Otherwise you get a "double NAT" situation which is not good.
https://kb.netgear.com/30186/What-is-do ... -is-it-bad
It's hard to say but it sounds like the ISP router may not be performing NAT services.
Usually with these ISP supplied routers, there are two logins. One is a user login which only allows you to modify certain settings.
The other which the ISP does not usually give out, gives full control.
I have a fiber router acting as a modem only with WiFi, DHCP, routing and NAT disabled. That is connected to my Edgerouter which performs routing and NAT functions and I have a linux server which performs DHCP functions.
I just contacted my ISP and requested that their router be configured just as a modem and they did that.
Perhaps if you asked your ISP they would do that for you as well.
If they would do that, you could then setup your access point as the router.
What is the brand and model of your access point?
Cheers
Re: Listen to 5001 but no client show up
It's the "TP-Link Wireless N Router WR840N" where all clients are connected by WIFI and Ethernet.
At the Huawei HG8145V5 which is the fiber modem and router, DHCP and WIFI is disabled. It has four LAN Ethernet plugs and one grey Tel plug and an USB plug. One of the LAN plugs goes to the WR840N.
At the Huawei HG8145V5 which is the fiber modem and router, DHCP and WIFI is disabled. It has four LAN Ethernet plugs and one grey Tel plug and an USB plug. One of the LAN plugs goes to the WR840N.
Re: Listen to 5001 but no client show up
A WR840N. That is quite old.
When you say you don't trust your ISP router, what do you mean by that?
But.... there is no problem having DHCP turned off on your ISP router and have it on in the WR840N.
The main point is to only have DHCP turned on in one of the routers.
On checking, I think that the routing functions are still being performed by the ISP router. If so, it is important to not also have the WR840N doing routing functions or you are doing a double NAT which can cause problems.
You should make sure the WR840N is running in access point mode and NOT in router mode.
Place the LAN cable fron the ISP router into the WAN port on the WR840N. In access point mode the WAN port becomes a LAN port.
I would also suggest giving the WR840N a fixed IP also.
EG: If your ISP router has a LAN IP of 192.168.0.1 make the WR840N fixed IP 192.168.0.2
In your first post you said "Both have DHCP with manual IP's" in relation to your two Macs.
I don't get that as they can either have DHCP enabled or a fixed IP but not both.
****The best option would still to try and get your ISP to put their router in bridged (acting only as a modem) mode and setup your WR840N as a router.
.PS: Your ISP HG8145V5 router is quite a good router.
It has all Gig ports and 5ghz WiFi.
But then you are connecting it to your WR840N which only has 100mbps ports and only 2.4ghz WiFi.
That WR840N is really the weak link in the chain.
A good router/access point which is good value is the TP-Link Archer C64. I have setup many for people. In one apartment block I have placed 14 of them and they work great. If your budget permits, would definitely upgrade the WR840N.
Where I live in Bali, Indonesia I buy them for US$30 each.
When you say you don't trust your ISP router, what do you mean by that?
But.... there is no problem having DHCP turned off on your ISP router and have it on in the WR840N.
The main point is to only have DHCP turned on in one of the routers.
On checking, I think that the routing functions are still being performed by the ISP router. If so, it is important to not also have the WR840N doing routing functions or you are doing a double NAT which can cause problems.
You should make sure the WR840N is running in access point mode and NOT in router mode.
Place the LAN cable fron the ISP router into the WAN port on the WR840N. In access point mode the WAN port becomes a LAN port.
I would also suggest giving the WR840N a fixed IP also.
EG: If your ISP router has a LAN IP of 192.168.0.1 make the WR840N fixed IP 192.168.0.2
In your first post you said "Both have DHCP with manual IP's" in relation to your two Macs.
I don't get that as they can either have DHCP enabled or a fixed IP but not both.
****The best option would still to try and get your ISP to put their router in bridged (acting only as a modem) mode and setup your WR840N as a router.
.PS: Your ISP HG8145V5 router is quite a good router.
It has all Gig ports and 5ghz WiFi.
But then you are connecting it to your WR840N which only has 100mbps ports and only 2.4ghz WiFi.
That WR840N is really the weak link in the chain.
A good router/access point which is good value is the TP-Link Archer C64. I have setup many for people. In one apartment block I have placed 14 of them and they work great. If your budget permits, would definitely upgrade the WR840N.
Where I live in Bali, Indonesia I buy them for US$30 each.
Re: Listen to 5001 but no client show up
Thanks boss.
If you say the HG8145V5 is a good router and because you know much more than me, I need to rethink my LAN system. I just think Huawei and my ISP spies on people so I try to make routing and DNS at a different device. I also use a VPN all the time with kill-switch. But maybe I'm totally wrong with my assumption and my LAN system. It would be possible to plug all my Ethernet devices into the Huawei router but the Software on that router is a little complicate. I modified many things in the settings and I don't remember the defaults. I'm afraid if I push the reset button I can't connect WAN anymore.
I live in Asia too and communication with the Internet provider is inane. They are very quick to say "No, can not" without reflecting or rethinking the question, so I'm completely on my own. It's working at the moment, though optimizing would be great.
PS: In macOS you have the ability to set "DHCP with manual IP" You get Subnet mask, Router, and DNS by DHCP but the IP you set manually.
If you say the HG8145V5 is a good router and because you know much more than me, I need to rethink my LAN system. I just think Huawei and my ISP spies on people so I try to make routing and DNS at a different device. I also use a VPN all the time with kill-switch. But maybe I'm totally wrong with my assumption and my LAN system. It would be possible to plug all my Ethernet devices into the Huawei router but the Software on that router is a little complicate. I modified many things in the settings and I don't remember the defaults. I'm afraid if I push the reset button I can't connect WAN anymore.
I live in Asia too and communication with the Internet provider is inane. They are very quick to say "No, can not" without reflecting or rethinking the question, so I'm completely on my own. It's working at the moment, though optimizing would be great.
PS: In macOS you have the ability to set "DHCP with manual IP" You get Subnet mask, Router, and DNS by DHCP but the IP you set manually.
Re: Listen to 5001 but no client show up
I wouldn't reset the ISP HG8145V5 router.
You would probably loose the WAN settings which perform the connection to your ISP.
My ISP supplied router is a HUAWEI EG8141A5 but it is running in bridged mode. I have a separate Edgerouter (no WiFi) and separate UniFi ceiling mounted wireless access points.
My ISP is really good. I just chat with them and they make any changes I want to their router remotely straight away.
I just checked the router in the apartment block I setup and it is running the same as you (HG8145V5).
That router goes to a 16 port switch and the switch ports go to the 14 x TP-Link Archer C64's (one in each apartment).
Then in each apartment, there are numerous WiFi and Wired connected to the TP-Link Archer C64's.
In the end, that HG8145V5 ISP router is doing the DHCP function for a lot of devices and it handles it fine without any issue.
My advice would be to stop using the WR840N and use the WiFi and DHCP on the HG8145V5 provided the location of the WiFi signal on the HG8145V5 is suitable and the LAN ports on the HG8145V5 are in a suitable location.
If you wanted to have wired connections available where the current WR840N is, your could just replace the WR840N with a Gigabit switch.
If you did want to add a switch, the TP-LINK TL-SG1005D 5-Port Gigabit Desktop Switch is a good choice and it is quite cheap. In Indonesia the cost is US$12.
If you wanted to get rid of the WR840N which I would strongly recommend, you can do it bit by bit.
Firstly start by turning back on DHCP on the HG8145V5 and disable it on the WR840N.
If you really don't want to have the HG8145V5 performing DHCP functions, you can also buy something better to replace the WR840N and run it in access point mode with DHCP enabled.
But... all DHCP does is hand out LAN IP addresses to your local devices. If your ISP was "spying" on you, it makes no difference if the HG8145V5 or the WR840N is performing the DHCP functions.
Something which is worth doing is to use other DNS than the ISP's DNS.
In the DNS settings use 1.1.1.1 (Cloudflare) as your primary DNS and 8.8.8.8 (Google) as your secondary DNS. (see attached screenshot).
In regard to the DHCP and manual IP on your MAC's.
In MacOS, if you have a manual IP, that is the IP and it won't be allocated an IP by DHCP even if DHCP is on.
If you have DHCP off, you need to input the DNS and gateway information manually.
If DHCP is on, the DNS and gateway information automatically received from the router.
If you need any help with the setup and you have WhatsApp, let me know in this chat and I will send you a private message with my WhatsApp phone number.
Cheers
You would probably loose the WAN settings which perform the connection to your ISP.
My ISP supplied router is a HUAWEI EG8141A5 but it is running in bridged mode. I have a separate Edgerouter (no WiFi) and separate UniFi ceiling mounted wireless access points.
My ISP is really good. I just chat with them and they make any changes I want to their router remotely straight away.
I just checked the router in the apartment block I setup and it is running the same as you (HG8145V5).
That router goes to a 16 port switch and the switch ports go to the 14 x TP-Link Archer C64's (one in each apartment).
Then in each apartment, there are numerous WiFi and Wired connected to the TP-Link Archer C64's.
In the end, that HG8145V5 ISP router is doing the DHCP function for a lot of devices and it handles it fine without any issue.
My advice would be to stop using the WR840N and use the WiFi and DHCP on the HG8145V5 provided the location of the WiFi signal on the HG8145V5 is suitable and the LAN ports on the HG8145V5 are in a suitable location.
If you wanted to have wired connections available where the current WR840N is, your could just replace the WR840N with a Gigabit switch.
If you did want to add a switch, the TP-LINK TL-SG1005D 5-Port Gigabit Desktop Switch is a good choice and it is quite cheap. In Indonesia the cost is US$12.
If you wanted to get rid of the WR840N which I would strongly recommend, you can do it bit by bit.
Firstly start by turning back on DHCP on the HG8145V5 and disable it on the WR840N.
If you really don't want to have the HG8145V5 performing DHCP functions, you can also buy something better to replace the WR840N and run it in access point mode with DHCP enabled.
But... all DHCP does is hand out LAN IP addresses to your local devices. If your ISP was "spying" on you, it makes no difference if the HG8145V5 or the WR840N is performing the DHCP functions.
Something which is worth doing is to use other DNS than the ISP's DNS.
In the DNS settings use 1.1.1.1 (Cloudflare) as your primary DNS and 8.8.8.8 (Google) as your secondary DNS. (see attached screenshot).
In regard to the DHCP and manual IP on your MAC's.
In MacOS, if you have a manual IP, that is the IP and it won't be allocated an IP by DHCP even if DHCP is on.
If you have DHCP off, you need to input the DNS and gateway information manually.
If DHCP is on, the DNS and gateway information automatically received from the router.
If you need any help with the setup and you have WhatsApp, let me know in this chat and I will send you a private message with my WhatsApp phone number.
Cheers
- Attachments
-
- Screenshot 2026-03-19 134310.png (129.72 KiB) Viewed 214563 times
