[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now


NetBIOS over TCP/IP:  Host not found.

Posted on 1998-10-19
Medium Priority
Last Modified: 2013-12-23
I am trying to connect to a remote computer using NetBIOS
over TCP/IP on a Windows 95 machine.  If it matters, I am
connected via a cable modem and receive an IP from a DHCP

The only protocol installed is TCP/IP.  I have enabled DNS
and set DHCP for WINS resolution.  I installed 'Client for
Microsoft Networks' and 'File and printer sharing for
Microsoft Networks' and checked that TCP/IP is bound to
both.  Under the NetBIOS tab the 'I want to enable NetBIOS
over TCP/IP' is greyed out and checked.  I assume this
means that it is enabled by default.

I've created an LMHOSTS file with the IP Address and name
of the remote computer followed by the #PRE tag.  When I
run nbtstat -R the table purges and reloads successfully.  
When I run nbtstat -c, it appears that I have a valid
NetBIOS Remote Cache Name Table.  When I run nbtstat -a
[remote_computer_name] or nbtstat -A [remote_IP_Address], i
get a 'Host not found.' response.

If I try browsing the remote computer from Start|Run
\\[remote_computer_name] or \\[remote_IP_Address], I get a
dialog box that says 'The network name cannot be found.'

Can anybody tell me what I'm missing?  Based on what I know
this shouldn't be impossible.  Any ideas or suggestions
would be greatly appreciated.

    - Phil
Question by:p_gurule
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
  • 8
  • 5
  • 3
  • +1

Expert Comment

by:Manish Naik
ID: 1545938
Have you tried to ping the other computer?


Author Comment

ID: 1545939
I can ping to the other computer just fine.
LVL 23

Expert Comment

by:Tim Holman
ID: 1545940
What are you dialing into ?
If you can ping the machine, then maybe NBT is filtered out ?
Have you enabled LMHOSTS lookup in TCP/IP properties and disabled WINS ?

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!


Author Comment

ID: 1545941
i am trying to get into my non-firewalled work network.  the
network consists of nt servers, workstations, and win95/98
clients each with static ip addresses.  i have tried with
WINS both enabled and disabled with no luck.  as i said, the
checkbox to enable lmhosts is greyed out in tcp/ip properties.
i assume this means it is enabled.

Author Comment

ID: 1545942
correction, i meant enable netbios over tcp/ip is greyed out.
where is enable lmhosts in tcp/ip properties on win95?

Expert Comment

ID: 1545943
As far as I know, windows 95 does not use "lmhosts" file, but "hosts".

Try to create a file named "hosts" in c:\windows, with the following two lines:          localhost
NNN.NNN.NNN.NNN         name_of_remote_computer

NNN.NNN.NNN.NNN is the IP of the remote computer you are trying to reach.

Disable wins and dns and try to ping the other machine using the name, not the IP. If pinging the name is ok, then you should get the connection.

Give a try and let me know the result.

Author Comment

ID: 1545944
I removed lmhosts and edited hosts to include the computers that
I want to connect to.  I disabled WINS and DNS and rebooted the
computer.  I was able to ping using the remote_computer_name
entry in the hosts file.

I was unsuccessful, however, in connecting to the machine using

Expert Comment

ID: 1545945
Try to execute, at win95 dos prompt:

net view \\remote_computer_name

You should have a list of shared resources on remote computer. Let me know the result or the error message.

Author Comment

ID: 1545946
i ran...

net view \\[remote_computer_name]

from the win95 dos prompt and got...

Error 53: The computer name specified in the network path
cannot be located.  Make sure you are specifying the computer
name correctly, or try again later when the remote computer is


Expert Comment

ID: 1545947
Some questions:

1. What kind of OS is on the remote computer?
2. Is the remote computer behind some firewall?
3. Are you sure that the remote computer has file and print sharing on? If yes, other computers are connected to its shared resources? If yes, this computers are using only TCP/IP protocol?
LVL 23

Expert Comment

by:Tim Holman
ID: 1545948
p_gurule -  enable LMHOSTS lookup is a function in NT - sorry !
fmismetti - Windows 95 can use LMHOSTS OR WINS (not both).

How are you establishing your dial-up connection ?


Author Comment

ID: 1545949
For now, I need to connect to an NT server.  On the same network
there are NT workstations and Win95/98 clients.  These computers
are NOT behind a firewall.  They do have file and printer sharing
on and other computers are connected to its shared resources. In
particular, other NT workstations at remote locations are able
to connect.  These computers are also using NetBEUI.

I'm using a cable modem on MediaOne express.  Therefore my
computer is connected 24/7, but I do not have a static IP
address.  The IP address is pretty steady, however--meaning, I
can have the same IP address for about 3-4 months.  A DHCP server
assigns my IP address and the lease is negotiated every time
the computer is restarted, etc.

An extension on my thoughts, and correct me if I'm wrong.  I'm
sure that lmhosts is being loaded and read.  When I had an
lmhosts file (and no hosts), I was able to ping the entries in
the lmhosts file and receive a response.  However, I was still
getting a 'Host not found.' error when running
nbtstat -a [remote_computer_name]

It really seems like NetBIOS is not using LMHOSTS or something.
I've insured that DNS _AND_ WINS are disabled.  I even went so
far as editing the registry to disable DNS to remove the
check from the checkbox in winipcfg that says 'use dns res. for
netbios' (or something like that).  As I said, there is no
enabling 'lmhosts for netbios' anywhere that I can find.  I
poked through the registry to see if there was any way to do
it that route, but couldn't find any.

Also, I edited the 'node type' in the registry so that it is
always in 'hybrid' mode.

I hope this helps.  Thanks for the input guys...
LVL 23

Expert Comment

by:Tim Holman
ID: 1545950
  Include the #DOM:{domain name} after the IP and name of the server if you want to enable a NetBIOS logon (and the destined server is running NetLogon service).
  Your NT system may be locked down with NTFS permissions that won't let just Everyone see the shares.
  If you're not actually performing a NetBIOS logon, then all you'll be able to see is shares with read permissions given to the Everyone group.
  Maybe the LAN Administrator's been tightening things up ?
  I've no idea what MediaOne Express is, so forgive my ignorance!
  Are there any routers in between you and the destination computer ?
  Are they letting through IP traffic on port 139 ?
  As for the LMHOSTS file, if your machine cannot resolve the NetBIOS name to an IP address via WINS, then it will look in
%systemroot%\lmhosts, so it doesn't really matter if WINS is enabled or not (except if WINS is misconfigured...).
  Hope I'm helping !


Author Comment

ID: 1545951

I won't be at my home pc 'til this evening to check specific
Until then...
- I've got #DOM in my LMHOSTS as well as an entry that identifies the domain.
- I'll check the NTFS permissions, but I believe their set properly.
- Sorry, MediaOne Express is a cable modem setup.  Go to www.mediaoneexpress.com if you want a full explanation.
- How do I check for routers between the home and destination PC?
- How do I check for IP traffic through port 139?

Is 'NetLogon' an actual service in NT that should be in the
service list under Network properties?  If remote NT workstations
are able to connect to the particular server that I am trying
to connect to in the way that I'm trying to connect, is there
any server configurations that might be preventing me?  The
other NT workstations are in different domains and they don't
appear to have a problem.

I'm not sure if this has any effect, but my workgroup name on
win95 is different from the domain name of which i am trying to
connect.  I've set the option to login to the domain that in
network properties, but it tells me that it can't find the

Thanks for the input so far.
Any more ideas are certainly welcome, keep 'em coming....

- Phil
LVL 23

Expert Comment

by:Tim Holman
ID: 1545952
   OK - I've had a look a MediaOneExpress's web page - very nice.
   I didn't realise you were going through an ISP.
   I take it you can ping other machines on the Internet etc..
   Although we now know a lot about your workstation, we have no idea what's at the other end.
   How is the remote computer you are trying to ping connected to the Internet ?
   Or is it ?


PS - Anyone know how to change your profile on Experts Exchange ?

Author Comment

ID: 1545953
Hey Tim,

Well, through your help and a whole lot of surfing to figure out
what's wrong I've learned a lot.  As you suggested a while back,
ports 137-139 are being filtered.  They don't tell you this
anywhere, but I happened to come accross it by coincidence.
Based on what you'd been saying and not really finding anything
wrong with what I'd been doing, I thought it might be a good
possibility and was going to call them anyway.

To make a long story short.
 They're removing the filter.
 You can have the points if you send an answer.

Thanks for your help...
 - Phil
LVL 23

Accepted Solution

Tim Holman earned 840 total points
ID: 1545954
Glad to be of help Phil !

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

This is the first one of a series of articles I’ll be writing to address technical issues that are always referred to as network problems. The network boundaries have changed, therefore having an understanding of how each piece in the network  puzzl…
This article offers some helpful and general tips for safe browsing and online shopping. It offers simple and manageable procedures that help to ensure the safety of one's personal information and the security of any devices.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…

650 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