Resolving an IP from Host Name

I'm trying to resolve IP address from our printers on our LAN. When I pass the host name to the following method I receive an UnknownHostException.
public String getAddress(String name)throws UnknownHostException{     InetAddress ia = InetAddress.getByName(name);
     return ia.toString();                    
Note this is a large domain based network.
Thanks.

Hi catabej,
Could you tell me what version of Office 365 are you using? If you have product key to activate it. Or you can activate Office 365 on phone, choose the telephone option in the Activation Wizard to get the phone number to contact in
your country.
Some reference about activating Office 365:
https://support.office.com/en-US/Article/Activate-your-product-key-for-Office-365-for-business-afa5dee4-091d-4152-b849-6aef8463ca9c?ui=en-US&rs=en-US&ad=US
https://support.office.com/en-US/Article/Activate-Office-2013-Office-365-Home-or-Office-365-Personal-1144e0de-e849-496e-8e33-ed6fb1b34202?ui=en-US&rs=en-US&ad=US
If there is anything else that I can do for you regarding this issue, feel free to post back.
Best regards,
Greta Ge
TechNet Community Support
It's recommended to download and install
Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
programs.

Similar Messages

  • Resolved IP address from host name-PL\SQL

    Guys,
    I need to get a resolved IP address from Host name.
    ie:Input would be host name and I need to get the resolved IP address of the host as output .
    Can this be done by a PL\SQL program?
    Thoughts please.
    Thanks,
    Gabriel

    SQL> select utl_inaddr.get_host_address('www.oracle.com') from dual ;
    UTL_INADDR.GET_HOST_ADDRESS('WWW.ORACLE.COM')
    141.146.8.66
    1 row selected.
    SQL> select utl_inaddr.get_host_address('www.microsoft.com') from dual ;
    UTL_INADDR.GET_HOST_ADDRESS('WWW.MICROSOFT.COM')
    207.46.199.30
    1 row selected.
    SQL>

  • We have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc. from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when

    Hello All,
    we have created shared folder on multiple client machine in domain environment on different 2 OS like-XP,Vista, etc.
    from some day's When we facing problem when we are access from host name that shared folder is accessible but same time same computer when we are trying to access the share folder with IP it asking for credentials i have type again and again
    correct credential but unable to access that. If i re-share the folder then we are access it but when we are restarted the system then same problem is occurring.
    I have checked IP,DNS,Gateway and more each & everything is well.
    Pls suggest us.
    Pankaj Kumar

    Hi,
    According to your description, my understanding is that the same shared folder can be accessed by name, but can’t be accessed be IP address and asks for credentials.
    Please try to enable the option below on the device which has shared folder:
    Besides, check the Advanced Shring settings of shared folder and confrim that if there is any limitation settings.
    Best Regards,
    Eve Wang
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Support, contact [email protected]

  • Cannot DNS resolve across networks using host name only (not fqdn)

    Evening all,
     I currently run domain network (MS Server 08 - dhcp) on my firewall interface1 and WiFi network on interface2 (dhcp provided by router itself). On my Wifi dhcp I am advertising as DNS server that of the domain, but wifi clients can resolve only FQDN domain
    client names not host names ("domainclient.domain.local" - not "domainclient").
    If on my wifi client I change NIC properties -> IPV4->Advance->DNS-> append these suffixes, and put the domain.local, then it works but need to be able to work without manual changes to each client.
    Any ideas?
    Many thanks,
    Argyris

    Hi,
    Additional, please confirm your DHCP option have configure the correct WINS server.
    The related KB:
    Understanding DNS Client Settings
    http://technet.microsoft.com/en-us/library/cc754152.aspx
    Configuring TCP/IP networking
    http://msdn.microsoft.com/en-us/library/dd163570.aspx
    Hope this helps.
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Host name not pinging

    Hi All ,
    One of the system has been removed from AD and today i was trying to add the system domian and AD and i am succeed,but issue is i am facing now that  system is getting IP and i am abble to ping the system from ip but its not pinging from host name ,and
    its a laptop so i am unable to synchronize the safe boot 
    please help me whats need to do 

    Some issue with DNS. 
    Run these command and check the results after 15-20 mins:
    ipconfig /flushdns
    ipconfig /registerdns
    Arnav Sharma | http://arnavsharma.net/ Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading
    the thread.

  • How to resolve a host name from IP using JNDI/DNS service provider

    Hi
    I got two questions on JNDI/DNS service provider:
    1) How to resolve a host name when i got an IP
    I understand How I do it inverse.
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://"+server+"/"+domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(host, new String[] {"A"});
    2) This example above works when I specify the domain in the provider url.
    If I am not specifing a domain but only the dns server I got an NameNotFoundException.
    What should I do if I don't got the domain?
    get the availible domains and loop on them?

    Hi,
    if your DNS server supports that, you can do a reverse DNS lookup. This works as follows:
    String server = "your.dns.server";
    String domain = "in-addr.arpa";
    String ip = "4.3.2.1";
    Hashtable env = new Hashtable();
    env.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.dns.DnsContextFactory");
    env.put(Context.PROVIDER_URL, "dns://" + server + "/" + domain);
    DirContext ictx = new InitialDirContext(env);
    Attributes attrs1 = ictx.getAttributes(ip, new String[] {"PTR"});1: Use the pseudo-domain in-addr.arpa
    2: Use the reverse IP address for lookup, i.e. if your host has 1.2.3.4, use 4.3.2.1!!
    3: Request the PTR attribute
    see also [http://en.wikipedia.org/wiki/Reverse_DNS_lookup|http://en.wikipedia.org/wiki/Reverse_DNS_lookup]
    Martin

  • 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.

  • The host name cannot be resolve ? ( with linksys router )

    Hi all, I have some problem with setting up a network. I tried to set my network according to http://wiki.archlinux.org/index.php/Configuring_network   the network/internet is fine except the host name with "http://" cannot be resolve. For example
    ping 216.239.61.104
    ping www.gogle.com
    both work fine, until I try,
    ping http://www.google.com
    it give me error, tell me that the hostname cannot be resolved. I tried to config my network using both dhcp or fix-ip, but the problem still present in both way. Internet works fine in windows/ubuntu.
    Anyboy has any clue ?  The router I use is wrt54gl with tomato firmware.
    thanks in advance.

    kowalski wrote:
    Hi,
    if pinging www.google.com works then dns resolving _does_ work. Why would you want to ping http://something?
    You should try opening http://whatever in a browser not pinging it from command line.
    Or am I missing something obvious?
    Yes, for instance, all mirror list for pacman is in "http://...." or "ftp://...." form. I could easily change the repository list, but I'm not sure if it'll have same problem in future with other program.  Also, if it work in ubuntu and windows, why not arch.

  • Catalog backup getting Error resolving host - unknown host name in dataset

    I have new install of OSB version 10.3.0.1.0 [Admin, Mediaserver, Client] installed on the same OEL server. My Catalog Backup jobs end up with error " unknown host name in dataset" and the job detail shows only "Error resolving host - unknown host name in dataset" while I can ping the admin host with obtool pingh command. The standard auto created Catalog backup dataset looks like this:
    Dataset: OSB-CATALOG-DS
    # Dataset for backing up the OSB Catalog on this administrative host
    include catalog
    I am able to create a separate dataset with the hostname defined and able to backup filesystems on the same host, np . Only the catalog backup from system generated dataset and schedule doesn't run. I appreciate any help or tip to make this catalog backup work. Thanks.

    This problem is fixed by just restarting observiced on admin server.

  • Error code "Couldn't resolve the host name"

    I cannot access internet from tablet
    WiFi shows connected
    noticed this yesterday
    any suggestions on how to fix error

    Did you manually setup your wifi. Can not resolve host name usually means a problem with the dns. Which router are you using?
    Be a Shepard and not an iSheep.

  • Change from Actual Host Name to a DNS alias

    Here is our current standalone Oracle Application Server 10g configuration:
    Platform
    UNIX Owner = ora10g (all services run from this account)
    Red Hat Enterprise Linux AS release 4
    All services run from this host
    Database version 10.2.0.4.0
    Infrastructure
    Version = 10.1.2.3
    Installation Type Identity Management
    OHome = /ins01_app01/oracle/oraInfra
    UNIX Owner = ora10g
    MiddleTier
    Version = 10.1.2.3
    Installation Type = Business Intelligence and Forms
    OHome = /ins01_app01/oracle/oraMidtier
    Only two mid tier components contain apps we use:
    Discoverer Viewer (integrated with EBS) and OC4J_Portal (for Web Services).
    I’m new at this so please bear with me. I want to change the URL from the actual host name to a DNS alias. For example, the current URL for Discover Viewer:
    https://actualhost.dom.com/discoverer/viewer
    I want to change the URL to use a DNS alias, such as this:
    https://devhost.dom.com/discoverer/viewer
    I have reviewed the following documentation on how I might accomplish this task:
    Oracle® Application Server Administrator's Guide 10g Release 2 (10.1.2)
    Chapter 8 Changing Network Configurations
    8.2.2 Changing the Hostname, Domain Name, or IP Address of a Middle-Tier Installation
    ID 734821.1 - chgiphost.sh Fails with java.lang.UnsatisfiedLinkError Can't find library pass (libpass.so or .so) in
    sun.boot.library.path or java.library.path
    However, there are some questions I want to resolve before proceeding:
    1) Am I on the correct path with section “8.2.2 Changing the Hostname”
    2) How can I confirm the middle-tier instance is registered with Oracle Internet Directory and therefore must supply the orcladmin password during this procedure.
    3) Are there any specific to our installation that I might be missing.
    Thanks,
    Pat

    1. Yes you are on the right track.
    2. You can confirm by going to AS Control Console for Midtier; click on Infrastructure link, among the top left links; and see which OID it points to.
    3. you seem to be having it all.
    AMN

  • Mail server config inconsistent when host name differs from domain name

    Hi,
    I've installed Leopard server on host server.example.com but want to server email for example.com the host name for incoming mail should be mx01.example.com. DNS is setup properly resolving server.example.com and mx01.example.com (both forward and reverse, mx01 having a separate IP) and mx01.example.com is set as MX for example.com. Both IPs are routed to the internal server by the firewall.
    In Server Admin, server.example.com is set as computer name (also resolved to the proper internal IP by our internal DNS), and in mail settings -> General, domain name is set to example.com and host name to mx01.example.com (so that the mail server identifies itself properly when connected on port 25).
    Normal mail traffic works perfectly: Users can send and receive mail from/to addresses like <user_shortname>@example.com. I've got problems with mailing lists, though:
    First, group based mailing lists (for groups created in Workgroup Manager) have the wrong addresses: <group_shortname>@server.example.com. Those addresses are linked when you view the croup in Directory.app. You can send mails to eg [email protected] when connecting to the server via telnet on port 25, but get an error email ([email protected]>: mail for server.example.com loops back to myself, Reporting-MTA: mx01.example.com) back.
    Second, mailman based mailing lists also have the wrong addresses: <listname>@server.example.com and at the bottom of the mails received from the lists, there are also links to the lists web page with the url mx01.example.com instead of the host's name server.example.com.
    mx01 should only be used by incoming SMTP, but if this isn't possible, I could revert to using server.example.com for the MX record as well. But the email addresses should definitely use the domain name and not the full server name as domain part. This is a typical email server setup and I can't understand why leopard server handles this differently. Does anyone have a workaround for this or could tell me how to setup an email system properly?
    Thanks a lot in advance!!
    Cheers, Thomas

    Well, you pointed me into the right direction: Changing the mail server's host name helped a bit. I just dumped the name mx01.example.org. The host is called server.example.org and in mail settings, the domain name is set to example.org while the host name is set to server.example.com. The MX record will have to point to server.example.org, then.
    The server now accepts emails to group based mailing lists à la <group_shortname>@example.org. In Directory.app, the link the the group's mailing list still opens a new Mail to <group_shortname>@server.example.org, though.
    For mailman based mailing lists, the link to the list's listinfo page in the bottom of emails received from the list is now correctly pointing to server.example.org. The list's address shown there still is <list_name>@server.example.org.

  • How can I get the host name from Email address?

    hi
    When I using socket to develope an email-sending servlet,I don't know how to get the host name from emial address.can you help me,thanks

    Stripping off the user name will give you the domain of from field in the message. This is not the same as the host. Take a look at:
    http://www.stopspam.org/email/headers/headers.html
    Theres a pretty good discussion about email headers and how to use the information. You probably want to check the information here against the RFC.
    Sean

  • Full qualified host name not appearing in url within WSDL generated from PI

    Hi
       We are on PI711  ( AIX OS ) and are stuck with an issue of the fully qualifed hostname not appearing within WSDL file  generated in PI71 for a webservice it exposes using the Integration builder
    We changed the host name in exchange profile ( all locations ) from hostname to hostname.companyname.intra and also in the ABAP stack as recommended in all OSS notes.
    We use the Integration Directory --> Sender Agreement --> Display WSDL option to generate the WSDL.
    Its to be noted that all locations ( including url for WSDL ) have the fully qualified hostname except the url within the WSDL.
    Dioes anyone come across this issue/ know which parameters to be updated on the PI server to make the url within the WSDL for the PI webservice to have the fully qualified host name ?

    HI Karthik,
    As Mentioned by Baskar donu2019t use proposed URL .. while creating WSDL in Id.. but instead provide URL in following format and use it in that place and create WSDL.. details about URL format..
    the URL format is fix. and it is simple.
    http://host:HTTPPort/XISOAPAdapter/MessagingServlet?channel=party:sendersystem:CC_sender
    in above URL provide your sender service component name instead of sender system.
    and provide SOAP sender communication channel name in place of CC_sender
    provide your PI system host and http name in place of host and https and use this..
    for more details about URL..
    Propose URL when Configuring Sender SOAP Adpater
    soap url
    Thanks,
    Bhupesh

  • 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...

Maybe you are looking for

  • Is there a plug-in for cropping movies?

    Is there a plug-in for cropping movies? I asked this question a few months ago, and someone suggested a plug-in that turns everything outside a cropping window into a background color. I would like to be able to do true cropping. I hope it's not nece

  • How to do signature sent from iphone

    how to set signature sent from iphone for whats app messages

  • Converting the amount in words

    Hi , Issues is like if the amount is $137,510.82 for US currency it should give as   ONE HUNDRED THIRTY-SEVEN THOUSAND FIVE HUNDRED TEN USD and 82/100. But when the document currency is german in the check it should give as ONE HUNDRED THIRTY THOPUSA

  • Timeout performance issues-

    I've worked out the code to an earlier question about using timeout scripts to fade objects in/out. Now my problem is that it is really slow - what should happen is myBlendTime = the transition time in milliseconds, in practice it takes much longer,

  • Software update always fails due to "unknown error"

    When I attempt to install software updates on my Macbook Air the process always fails with an error message that says "unable to install due to unexpected error" (or something like that). Any ideas how to fix this problem? I've found some references