Cannot resolve host names on local network

It is a local network with router, few Windows computers with shared drives and one Mac.
Windows shares appear correctly in SHARED and can be used without any problems, like iTunes and iPhoto libraries are on those shared drives and work properly, even if ip address of those computers would change.
BUT - if I am trying to use VNC and connect to hostname:port, it says that server is not specified. If I try to ping hostname it says Unknown host.
At the same time, similar ping from Windows computer work without any problems.
It could be possible that router does not support something standard and communicates with Windows using something windows-specific, but what confuses me is that I can see computer names resolved in the finder already! Also, as I said iTunes and iPhoto can work with shared files on dynamic ip's which would be not possible if host names would be not resolved.
Thanks.

Domain Name Resolution for local IP addresses require a Local DNS server running on your network.
Bonjour names will resolve without a Local DNS server. So this is why iTunes and iPhoto works as they use bonjour technology.
A bonjour name ends in .local so in your macs sharing preferences you give the mac a name of imac its bonjour address is imac.local
Other than that you are best giving your devices fixed IP address and adding there hostnames to your hosts file.
the contents of /etc/hosts on your mac would look like
# Host Database
# localhost is used to configure the loopback interface
# when the system is booting. Do not change this entry.
127.0.0.1 localhost
255.255.255.255 broadcasthost
::1 localhost
fe80::1%lo0 localhost
so at the above that you could add for example
192.168.1.5 mypc
192.168.1.6 myprinter
Then you could ping 192.168.1.5 by
ping mypc
So would have to add these entries to each hosts file on every computer on your lan.
Or you could setup a local dns server and give each computer on your LAN a fully qualified domain name.

Similar Messages

  • Network Error []: Cannot Get Host Name when running business rules

    Guru's
    We are getting the following error intermittently when we are running business rules (Planning Application >>Tools>>Business Rules) or running SmartView refreshes:
    Network error []: Cannot Get Host Name
    The following is then logged in the Essbase Application logs:
    Local/Application/Database/admin@Native Directory/Error(1042022)
    Network error []: Cannot Get Host Name.
    A quick look at the Essbase Error Messages Doc says it is a network error and we have to consult the network documentation. Unfortunately this is not very descriptive so we logged an SR with Oracle but we don't seem to be getting a resolution.
    The environment is 11.1.2.0 and the architecture is as follows:
    Server 1 - MS Server 2008 x64:
    Planning, Calc Manager, Foundation Services, Framework Web Services, EAS, APS, Web Analysis, FR Web Services
    Server 2 - MS Server 2008 x64:
    Essbase Server
    Server 3 - MS Server 2008 x64:
    Framework Services, FR Print Services
    We have tried doing the following:
    1. Put in the server host names into the hosts file on the Hyperion Servers
    2.  Applied the following TCP/IP settings on all the Hyperion Servers and one of the user machines as a test:
          - Added a new DWORD Value named TcpTimedWaitDelay and set it to 30.
         - Added a new DWORD Value named MaxUserPort and set it to 65534.
         - Added a new DWORD Value named MaxFreeTcbs and set it to 6250
    3. Confirmed that there are no packet drops by monitoring the server NICs so no packet loss could be the cause of this issue
    4. The Essbase Config file has the following settings:
    NETDELAY 2000
    NETRETRYCOUNT 2500
    Has anyone come across this issue and if you managed to resolve it, how did you go about it.
    Thanx

    Hi Rahul
    The issue is happening to a number of calcs so it it not one calc specifically. I will ask the functional consultants to enhance the logging in the business rules so that we can see if the issue happens on a specific member\block etc and yes we do use Xrefs
    We can run this as a calc in EAS without any issues and it's intermittent because this business rule runs 95% of the time in Planning Application >> Tools >>Business Rules without any issues.
    Thanks

  • "couldn't resolve host name" error message

    I have a new Z30 with the latest OS update installed and can’t connect to several Wi-Fi locations because of error message ‘couldn’t resolve host name’.  Is there a fix to this as it seems to be an issue with BB and no other type of devices?

    Assuming you're connecting via wifi, this would suggest your wifi connection is failing somewhere along the way.
    Occasionally, my PB's wifi icon shows green and looks like it's working, but if I turn the PB wifi off and back on, it usually fixes the problem. You could also try rebooting the PB if resetting the wifi doesnt work. 
    If these things don't correct the problem, then check your wifi router (reboot it if necessary) and maybe check your internet connection with another device, ie home computer or whatever to make sure you're not having service issues.

  • [SOLVED] Cannot resolve role-Name UserRole

    hello community,
    while trying to deploy a j2ee-application to weblogic 10 i got following error message:
    weblogic.management.DeploymentException: Cannot resolve role-Name UserRole
    i guess that this deals with the ejb-jar.xml wherein is these beneath another role defined.
    this is the content of the ejb-jar.xml:
    <ejb-jar>
    <assembly-descriptor>
    <security-role>
    <role-name>AdminRole</role-name>
    </security-role>
    <security-role>
    <role-name>UserRole</role-name>
    </security-role>
    <method-permission>
    <role-name>AdminRole</role-name>
    <method>
    <ejb-name>EJBClientInterfaceEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    <method>
    </method>
    </method-permission>
    <method-permission>
    <role-name>UserRole</role-name>
    <method>
    <ejb-name>EJBClientInterfaceEJB</ejb-name>
    <method-name>*</method-name>
    </method>
    </method-permission>
    </assembly-descriptor>
    <enterprise-beans>
    </enterprise-beans>
    </ejb-jar>is there anything to insert in the weblogic-ejb-jar.xml?
    thanks in advance,
    maik
    #edit 1:
    FYI it uses ejb version 2.0
    <!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
    Edited by sqlworktask at 10/25/2007 6:38 AM

    hello monduke,
    yes, these lines of code are the same as in the weblogic-ejb-jar.xml
    but the error remains...
    a brief look in the log-file and the following was detected:
    Caused by: weblogic.management.DeploymentException: Cannot resolve role-Name UserRole
         at weblogic.servlet.security.internal.WebAppSecurity.getRunAsPrincipalName(WebAppSecurity.java:413)
         at weblogic.servlet.internal.WebAppServletContext.registerServlets(WebAppServletContext.java:1403)
    i do not know what to do next...
    #edit 1:
    the security-section of the weblogic-ejb-jar.xml:
      <security-role-assignment>
        <role-name>AdminRole</role-name>
        <principal-name>Admins</principal-name>
      </security-role-assignment>
      <security-role-assignment>
        <role-name>UserRole</role-name>
        <principal-name>Users</principal-name>
      </security-role-assignment>but as i mentioned... the error remains the same
    Edited by sqlworktask at 10/24/2007 11:52 PM

  • Can I make Virtual Host accessible to local network only?

    On our web server (with only one interface and IP address), we have two virtual hosts:
    -An intranet site which should not be viewed by general public.
    -A public website accessible by general public over the internet.
    How do I ensure that our web server only serves the intranet site to the local 192.168.0.0/16 network, whilst still allowing anyone to view the public website?

    Quick thoughts. You can handle this a few ways. Here are two fast ones.
    You can just use the host name and order your virtual hosts public first, private second. Then make sure that the URL for the public site is the only one on you public DNS. For example, if you have two VHs, www.yourdomain.com and wiki.yourdomain.com. Then on the public DNS servers, create a record for the www host only. That way, if the wiki host is entered outside of the environment, it will not resolve to an address. Now if you are using wildcards on the outside, then this may cause some issues and I can not predict this early in the morning if the wildcard would resolve to the primary VH or pass the URL in the header.
    So the other option is to modify the directory container within the virtual host file. For example, your VH file has a Directory container that probably looks something like this.
    <Directory "/Library/WebServer/Documents">
    Options All -Includes -ExecCGI -Indexes +MultiViews
    AllowOverride None
    <IfModule mod_dav.c>
    DAV Off
    </IfModule>
    </Directory>
    And to it the following:
    order deny,allow
    deny from all
    allow from 192.168
    This will restrict access the to the 192.168 subnet. Refine it more if needed to 192.168.0 etc.
    Hope this helps

  • The system cannot resolve database name" while restoring AppSet

    Hello Everyone,
    I am having an issue restoring AppSet using Server Manager. The error I'm getting is the following:
    "The system cannot resolve the database name. Check that your connection with SQL Server still exists, or use another version of SQL Server".
    I suspect that some port(s) that's being used by Server Manager is closed... Is there a list of ports which need to be open between Application Server and Database Server?
    I'm running BPC 5.1 SP03 multi-server environment.
    Thanks in advance,
    Akim

    Tony,
    Thanks for the reply. I have all default settings for SQL/AS. BPC itself has no issues communicating between App/DB.
    I noticed an interesting thing... I can backup successfully with "Use backup files' folder path on a remote SQL server", but it fails if i backup localy to the application server. In a SQL Log I am seeing:
    BackupDiskFile::CreateMedia: Backup device '
    <AppServer Name>\SQLShare\ApShell.BAK' failed to create. Operating system error 53(The network path was not found.).
    Same with restore.
    Basically, my workaround is to restore SQL part from shared/remote location.
    Thanks,
    Akim

  • Problem resolving host name.

    Hi all,
    How can I resolve some host name's IP address? Example: I've got the host name "java.sun.com" and I need to know its IP address. How can that be done?
    I first thought about
    InetAddress addr = InetAddress.getByName("java.sun.com");but it threw an UnknownHostException, even though I were connected to the internet and could open this page in the browser.
    Again, how can I do that?
    Thank you all in advance
    Filipe Fedalto

    Oh, geez!
    You are right, I have a proxy. Is there any way I could still do it? I mean, the proxy gives me full access to the internet, so that if I type this URL into a browser it allows me to view the page...

  • X11vnc: cannot use host name in Windows

    Hi, i cannot find my host name if i start x11vnc. It works if i write on Windows XP "Real VNC Viewer" IP adress. When i start x11vnc
    The VNC desktop is: asus:0
    But if i write to Real VNC Viewer "asus" or "asus:5900", it doesn't work but if i write "192.168.1.101" it works fine. I need find how i can use host name, because i have DHCP on router and IP address will be different. Please help, thanks

    Well, that's to be expected with standard plastic routers, or can you ping your XP box by name, for example?
    Look in your router interface if you can specify DHCP leases with fixed IPs, depending on MAC address.
    And then specify hostnames for those IPs in /etc/hosts and c:\windows\system32\drivers\etc\hosts

  • Deploy cannot resolve service name

    Hi
    I have a very simple warehouse project in OWB 9.2. I have defined an ODBC source on SQL Server and wish to deploy to a target table defined in an Oracle target module. A mapping, locations, connectors, database links etc are defined and valid.
    Up to the "Pre deployment generation results" view, all operations are shown as success. However, on selecting "Deploy" from this window, the deploy status is "Failed" with error "ORA-12514: TNS:could not resolve service name".
    I have checked the TNSNAMES.ORA file and all service names used are defined. Using "tnsping", I can connect to the oracle database, however the connection to the SQL Server database using "myhsodbc" fails. I can successfully connect to the SQL Server database using the database link defined when creating the source module or from SQL*Plus.
    Any suggestions as to which service name is unresolved?
    Thanks
    Bob

    Hi Mark
    I have added tnsnames file to server and client, oracle_home and owb_home with no change in result. The following info is little lengthy, but I hope it may give a clue to resolve my situation.
    The deployment manager identifies 3 objects for deployment - a mapping (SAP_CI_HIERARCHY), a table (SAP_CI_HIERARCHY) and a connector (ORAONSQL_SQLONPCRH).
    The generated connector script follows:
    CREATE DATABASE LINK "{{SQLONPCRH.Service}}"@ORAONSQL_SQLONPCRH
    CONNECT TO "{{SQLONPCRH.ConnectAs}}"
    IDENTIFIED BY "{{SQLONPCRH.Password}}"
    USING '(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)
    (HOST={{SQLONPCRH.Host}})(PORT={{SQLONPCRH.Port}})))
    (CONNECT_DATA=(SERVICE_NAME={{SQLONPCRH.Service}}))
    (HS=OK)
    The mapping script contains the following connection string in a select statement:
    FROM "dbo"."SAP_CI_HIERARCHY"@"MYHSODBC.FIRM.UNI.EDU"@"ORAONSQL_SQLONPCRH" "SAP_CI_HIERARCHY_ORA10323"
    The SQL Server source is defined by the following connection information:
    Database Link: PCRH_LINK.FIRM.UNI.EDU
    Connect String: myhsodbc.firm.uni.edu
    Gateway Type: Oracle Generic Connectivity - HSODBC
    Schema: dbo
    Location: SQLONPCRH
    The Oracle target is defined as follows:
    Database Link: ORAONSQL_LINK.FIRM.UNI.EDU
    Connect String: oraonsql.firm.uni.edu
    Schema: firmolap
    Location: ORAONSQL
    TNSNAMES.ORA file contains entry for oraonsql & myhsodbc:
    ORAONSQL.FIRM.UNI.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sqlserver)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oraonsql.firm.uni.edu)
    MYHSODBC.FIRM.UNI.EDU =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = sqlserver)(PORT = 1521))
    (CONNECT_DATA =
    (SID = myhsodbc)
    (HS = OK)
    From SQL*PLUS,
    SELECT *
    FROM "dbo"."SAP_CI_HIERARCHY"@"PCRH_LINK.FIRM.UNI.EDU"; returns data, whereas the SELECT statement from the generated script returns ERROR "ORA-02019: connection description for remote database not found".
    All database links are PUBLIC.
    Location registration:
    ORAONSQL
    Service name: ORAONSQL.FIRM.UNI.EDU
    Net service name: ORAONSQL
    SQLONPCRH
    Service name: myhsodbc.firm.uni.edu
    Net service name: myhsodbc
    Is there something in this that points to the problem either in connecting from Deployment Manager (or from SQL*PLUS)?
    Thanks again for any help you can offer.
    Bob

  • Changing ID of host machine for local network

    I don't have a local network yet I keep getting messages that the OS has changed the identity of my machine in order to allow file sharing!! "FirstName-LastName-.3 has been changed to .4" Nothing seems to change in terms of operation, but it is irritating and I wonder why it's happening. I have "File Sharing" off.

    K T wrote:
    this happens when the system detects a computer by the same name on the same local network.
    It's also happening when there is only one computer....which is apparently the OP's situation as I took it.
    yes, I know. what I meant is that the computer thinks that there is another computer by the same name on the network. it does not mean that there is actually another computer by the same name present, just that your computer thinks there is one for some reason. resetting the router is the first thing to try in such situation.

  • Cannot see NAS on my local network by its name (Linksys EA4500)

    Hello,
    I have just bought a new EA4500 and set it up at home. Most things worked like a charm except one. I can no longer see my Synology NAS on my home network byt its name.
    I have the router connected to internet (local ISP, PPPoE). I have the NAS connected by wire, two Windows 8 PCs connected wirelessly. There is also a TV (wired connection), a printer, some Windows Phones and Kindles. One of the PC cannot see the NAS (the other can). It can connect to it by its IP (in browser, by ping), it can see its media server (I can play music from the NAS in my Media Player), the TV sees the NAS as DLNA media server... But the PC cannot see the NAS by its name.
    If I list connected devices on the router settings, I can see the NAS and its name. But the PC cannot. What is wrong?
    Both PCs have file sharing turned on. I have even SSH'd to the NAS ind successfully pinged the PC by its name. For full disclosure, the PC has VMWare installed with Windows 7 virtual machine.
    I made no settings to the router other than going through the Cisco Connect wizard and disabling guest wifi.
    Thank you very much for any suggestions.
    Solved!
    Go to Solution.

    Thank you. Restarting everything didn't help. It happed to be solved by itself later on. I was fiddling with wifi settings and set (and unset) FIPS. Then it worked. No idea if it was a coincidence.

  • Network error []: Cannot Get Host Name

    Is there a config or other Essbase setting I can use to eliminate this error?
    My calc script completes successfully after an hour, the numbers are always correct.
    This error show up randomly. You don't see it for a week, then three days straight. Then gone for a month....

    Hi Rahul
    The issue is happening to a number of calcs so it it not one calc specifically. I will ask the functional consultants to enhance the logging in the business rules so that we can see if the issue happens on a specific member\block etc and yes we do use Xrefs
    We can run this as a calc in EAS without any issues and it's intermittent because this business rule runs 95% of the time in Planning Application >> Tools >>Business Rules without any issues.
    Thanks

  • Resolving hostname depending on local network?

    I have a basic networking question. On my laptop, when I'm connected to my home wireless network, I'd like home.example.com to resolve to my home servers local IP address, 192.168.1.100. But if I'm not connected to that network, I'd like it to resolve as a normal DNS request (e.g, perform the lookup).
    I'm using wicd as my network manager.
    Edit: To clarify a bit more, I have a server on my home network. I would like to be able to mount an SSHFS share no matter where I connect from. If I'm connected to my home network, I'd like to use the internal IP address, 192.1.168.100. If I'm on a different network, I'd like to use the public domain name. The reason I'd like to use the internal IP address if possible, is because it cuts latency in half, as well as if I were to not have Internet access at the home network, it wouldn't fail due to not having access to a DNS server.
    Last edited by Ruckus (2009-08-15 09:31:06)

    You essentially have to configure  your home dns server. If your laptop points to the gateway for dns resolution, you can use a program like dnsmasq on the server to setup a dns server, and I think you can specify items in the server's /etc/hosts that dnsmasq will use for name resolution.

  • Unable to access hosts from outside local network

    I have set up a few different name-based virtual hosts for a small client. DNS is set up correctly; sites can be accessed internally; everything is working OK.
    However, none of the virtual hosts can be accessed from outside their internal network. I know for a fact that DNS is set up correctly as dig tells me so. Firewall port 80 is open and everything (mail, vpn, etc.) else is working fine.
    I've looked over the httpd config files many times and just can't seem to find anything wrong. Any suggestions on where to look for problems?
    Xserve   Mac OS X (10.4.5)  

    What if you swap out your Apache config for a moment with the default one? Do you have reason to think that it's something in your name-based virtual host settings?
    Can you access a web site from the outside if you only have the default config on there, accessing it maybe via IP address?
    If so, we'll probably need to know more about your virtual host setup in order to troubleshoot this any further, considering you have other services running and accessible on the machine.
    Are you getting any errors? What happens when you try to reach one of the websites? Have you looked at your error log for any of the sites?

  • TNS : Cannot resolve service name

    hi i am able to connect to the database (server 10g and client also 10g)
    i mailed the tns entry and gave it to another guy who has oracle 9i (client) installed
    he added the entry to his tns file but unable to connect to the db
    plz help

    something like this...login to cmd promt and then tnsping database_name
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    H:\>tnsping orcl
    TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 08-APR-2009 13:
    12:26
    Copyright (c) 1997, 2005, Oracle.  All rights reserved.
    Used parameter files:
    C:\oracle\product\10.2.0\db_2\network\admin\sqlnet.ora
    Used TNSNAMES adapter to resolve the alias
    Attempting to contact (DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST = msn048034c)(POR
    T = 1521)) (CONNECT_DATA = (SERVER = DEDICATED) (SERVICE_NAME = orcl)))
    OK (60 msec)
    H:\>

Maybe you are looking for

  • Can't see any wireless network on my g5 dp2.5 can anyone help?

    hello - i have just bought a 2005 model dp2.5 g5, and an airport extreme card. I have a wireless network at home which my other macs are all seeing fine, but this new computer won't see any network at all. i tested the extreme card by putting it in m

  • "Promote your app" service is not available

    Hello all, We had an unplanned outage of "promote your app" feature in pubCenter. We are working hard to resolve the same. You might not be able to create campaigns or edit your existing campaigns during this period. This post will be updated as soon

  • How to include and call exe file in jar?

    Hi, I am writing a Java application that calls an external exe file to accomplish some tasks. In order to make the program more user friendly, I would like to package the Java application and the exe file into one JAR file and distribute that JAR fil

  • Custom spry type menu using images instead of text

    Hi. Before I ask my question properly, I just want to put it out there that I have created my almost finished (apart from this part) website pretty much cometely in design view. I am very very limited with HTML and have zero scripting experience. I'm

  • I just upgraded to Yosemite now my iMac it's locked

    I just upgraded to Yosemite now my iMac it's locked what do i need to do to unlock it?