using net send

Posted on 2002-07-27
Last Modified: 2010-04-13
From the commandpromt i can send a message to another IP like: net send Hello world!

But currently I'm behind a NAT router, and I can no longer send messages outside the LAN. Why? And is there a solution to this?
Question by:easysoft_studios
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Expert Comment

ID: 7182657
the router may be blocking broadcasts. check the routers config.

Expert Comment

ID: 7182947
Net send uses broadcasts to the domain.  These are normally not relayed by the router.  Check specifically UDP ports 137 and 138.  Here are a pair of related articles:;en-us;Q168893;[LN];Q150881


Expert Comment

ID: 7182948
"I can no longer send messages outside the LAN"

1. You were able to before then?

2. Where are you trying to send them? Over the Internet, or to a WAN.

3. As mentioned above, one of the jobs of a router is to block broadcasts.
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.


Author Comment

ID: 7870367
first of all sorry for the long response time

second, my guess is that is completly impossible to send a such thing over Internet? Working fine over LAN though, so my guess is that it don't work. Had a friend trying via his connection and he could'nt either.

Now, what to do with this question? Close or give points?

Accepted Solution

jmiller47 earned 100 total points
ID: 7873978
It's up to you.

You can over the Internet using very specific circumstances and provided that all the connections between you and the other person do not block that type of traffic in which they most likely do.

You would also need to  use the Internet IP address of the other person's computer unless your could resolve their address using an Internet DNS adddress

Author Comment

ID: 7876166
jmiller47 > do you have any example? any specifed command to write, or simple just net send Hallo!

Expert Comment

ID: 7876702
yes, that should do it if all conditions are met.

The port needs to be open over the whole connection and the messenger service needs to be running on each computer.

Author Comment

ID: 7876918
well thanks, thats just great.

Hope grade B is apropiate, since this will be a solution that i have to work with :)

But thanks for your advice

Best regards

Expert Comment

ID: 7881326
The grade is fine, but if there is more needed, just ask away... :)

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

NTFS file system has been developed by Microsoft that is widely used by Windows NT operating system and its advanced versions. It is the mostly used over FAT file system as it provides superior features like reliability, security, storage, efficienc…
Popular third-party chat platforms like Slack, Discord, and Telegram are just a few of the many new productivity applications that are being hijacked by cybercriminals to create command-and-control (C&C) communications infrastructures for their malw…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
This is my first video review of Microsoft Bookings, I will be doing a part two with a bit more information, but wanted to get this out to you folks.

734 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question