# Creating Hotspot network - it registers the I/F in NetworkInterfaces but it does not in ConnectivityManager

**URL:** <https://forum.devtalk.com/t/creating-hotspot-network-it-registers-the-i-f-in-networkinterfaces-but-it-does-not-in-connectivitymanager/248299>\
**Category:** Android Questions/Help\
**Tags:** kotlin\
**Created:** [26 July 2026 18:49 UTC](https://forum.devtalk.com/t/creating-hotspot-network-it-registers-the-i-f-in-networkinterfaces-but-it-does-not-in-connectivitymanager/248299 "2026-07-26T18:49:46Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![yosefk](https://forum.devtalk.com/letter_avatar_proxy/v4/letter/y/9d8465/32.png) [@yosefk](https://forum.devtalk.com/u/yosefk)\
**Post date:** [26 July 2026 18:49 UTC](https://forum.devtalk.com/t/creating-hotspot-network-it-registers-the-i-f-in-networkinterfaces-but-it-does-not-in-connectivitymanager/248299/1 "2026-07-26T18:49:46Z")

</div>

I’m creating Hotspot network in Android by  
WifiManager.startLocalOnlyHotspot. It register the I/F in NetworkInterfaces but it does not in ConnectivityManager.  
I need to bind DatagramSocket to hotspot interface by ConnectivityManager network, but associate the two.
