Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

219
Views
Change IP address in JavaFX

I want to be able to change the IP address of a device that is connected via LAN cable (1 to 1 connection) with a software that I create in JavaFX.

I already know what the IP address is for both devices. The device that has the software and the device (the IP to be changed) will be on the same subnet.

Is there any protocol/libraries/functions I can use to achieve this, or is this even doable?

over 4 years ago · Santiago Trujillo
2 answers
Answer question

0

Java (and thus JavaFX) doesn't have a method for changing a device's IP address.

If the software of the device is under your control you would need to implement it there. Be aware that your process needs to have the corresponding rights to change the device's address.

over 4 years ago · Santiago Trujillo Report

0

If the device you are programming is your own you can add your own software that handles the IP address change, given the constraints of the device's operating system.

However, if it is a device of another manufacturer, especially if it is a off the shelf device, it is very unlikely that you can.

Given the addition of 'a device such as a TV', many of such devices already offer a on-device method of configuring the IP. Also, many routers allow to bind a device's MAC address to a fixed IP.

However, with Java (or Python, C#, or C, or assembly), you can't. Not unless there is an API or a security bug in the device.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!