The range of the net is 5', which means you are in melee range. But it's a ranged weapon, which means that unless you have the crossbow expert feat, every attack made with a net is normally going to be with disadvantage. I can't believe that's intended, but it is what the rules say, i believe. So before using a net, you'd need to talk to your DM anyways.