Thursday, May 2, 2024
 Popular · Latest · Hot · Upcoming
3
rated 0 times [  3] [ 0]  / answers: 1 / hits: 1764  / 2 Years ago, fri, december 10, 2021, 9:55:54

On a LAN each computer is assigned a different IP address each morning. When I installed Kubuntu 12.10 the IP address assigned to the machine was 10.0.0.2, but today it is 10.0.0.1. When I try to connect to http://127.0.0.1 in Firefox I see in the status bar Connecting to 10.0.0.2. However, there is no mention of that address in the /etc/hosts file:



127.0.0.1       localhost
127.0.1.1 bruno

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters


Note that setting the DHCP server to assign the same IP address per MAC address cannot be done as the router is unplugged each evening (electrical issues in the building) and loses the settings.


More From » networking

 Answers
4

The previous IP address was 10.0.0.2 and now it is 10.0.0.1. If Firefox is now trying to connect to 10.0.0.2 then it must have previously cached that address. Clear Firefox's cache; whatever mechanism previously redirected Firefox from 127.0.0.1 to 10.0.0.2 should now redirect Firefox to 10.0.0.1.


[#33296] Sunday, December 12, 2021, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
nnaisdio

Total Points: 369
Total Questions: 112
Total Answers: 108

Location: Kenya
Member since Mon, Jun 14, 2021
3 Years ago
;