File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Sockets and Internet Protocols and the fly likes how to change current IP to new IP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Sockets and Internet Protocols
Bookmark "how to change current IP to new IP" Watch "how to change current IP to new IP" New topic

how to change current IP to new IP

deca leni
Ranch Hand

Joined: Jun 18, 2011
Posts: 49

I know hot get the current IP ON PC bt I want change it dymicly whenever I want..
so please can anyone tell me how to do this?

Do or die...?? No, Do before you die... || (SCJP .6)
Wouter Oet
Saloon Keeper

Joined: Oct 25, 2008
Posts: 2700

Usually an IP address is assigned by a DHCP server in your router. You'll probably need to change some settings in that router so that you can assign yourself a static ip address.

"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler
Please correct my English.
I agree. Here's the link:
subject: how to change current IP to new IP
Similar Threads
How to find IP address by SQL Query
octate num to int
Get Ip Range
Singel server name