Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8095757
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T21:14:24+00:00 2026-06-05T21:14:24+00:00

I have deployed an application on the IIS server, as per my requirement i

  • 0

I have deployed an application on the IIS server, as per my requirement i need to get IP-Address of hosted machine which is on the network and i have just host-name of the machine using c#
e.g

http://abc

Where abc is deployed on IIS which can be any where on the network i don’t know.
Is it possible to get IP-Address using this host-name with c#

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T21:14:26+00:00Added an answer on June 5, 2026 at 9:14 pm

    Include

    using System.Net;
    

    and use

    string url = "www.howtogeek.com";
    IPAddress[] addresslist = Dns.GetHostAddresses(url);
    

    The following answer also might be helpfule

    How to get my own IP address in C#?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

we have implemented C# web service and deployed in IIS 6.0 server As per
I have deployed my application on IIS 7.5 on windows server 2008 operating system
I have deployed my ASP.NET web application on IIS (windows 2008 server). I have
I have a web application deployed on a jboss server running on a unix
I have a Spring application deployed in JBoss EAP server, using the following settings:
We have an enterprise application (deployed as an ear) is a batch processor which
I have a c# winforms application deployed to a terminal server with AD. I
I have web application which we deployed in a production . We have separate
I have an application which uses JSPs and Servlets and deployed on IBM-WASCE 2.1.
I have an Asp.Net MVC 2 web application deployed on IIS 7.5 on .Net

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.