Results 1 to 7 of 7

Thread: Get ip of running server

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Aug 2008
    Posts
    84

    Thumbs up Get ip of running server

    i have a client/server based application

    the server always listen at port = 9090

    is there any way to find the IP of the server thru client, because the

    COMPUTER NAME

    &

    IP Address of the server changes frequently

    any help's / sugession's appreciated

    Regard's Raj

  2. #2
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: Get ip of running server

    Quote Originally Posted by -RaJ- View Post
    is there any way to find the IP of the server thru client, because the
    Nope, but you can install a DYNDNS application on your server machine to assign a Domain name for it

    Google for Dynamic DNS, or even better NO-IP
    No, that wont do!

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Aug 2008
    Posts
    84

    Re: Get ip of running server

    i guess that wont help me, i have seen server/client based cafe application that auto detect's server's IP, but really have to look how it works

  4. #4
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: Get ip of running server

    Quote Originally Posted by -RaJ- View Post
    i guess that wont help me, i have seen server/client based cafe application that auto detect's server's IP, but really have to look how it works
    If all you have is a port number, than you only can scan a range of IPs for that port, and if you find an open one, you send some kind of authentication message to that port, and if Server responds that is your Server. I cannot think of a better solution.

    Quote Originally Posted by -RaJ- View Post
    i guess that wont help me
    This is the best way you can do it.

    Download NO-IP application and install it. It is free. It will automatically update your IP address and assign it to your domain name. Everything is free. Why dont you try it?

    Once you set it up, you use a domain name instead of IP.
    No, that wont do!

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Aug 2008
    Posts
    84

    Re: Get ip of running server

    ill give it a try . . . .

  6. #6
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Get ip of running server

    is this internet or local network?
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  7. #7
    Fanatic Member Dungeon Keeper's Avatar
    Join Date
    Mar 2008
    Posts
    590

    Re: Get ip of running server

    Lets say it is internet I am interested too how it's done, i don't think it is possible.
    No, that wont do!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width