Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

214
Visualizações
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 Respostas
Responde à pergunta

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 Relatório

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 Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda