﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
11409	josm on with ipv6 enabled system only opens remote control ports on ipv6	flohoff	team	"==== What steps will reproduce the problem?

Yesterday i upgraded to the latest josm and since then my remote control does not work anymore.

flo@p2:~$ java -version
java version ""1.8.0_45""
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)

Josm also says on startup that it opens ipv6 sockets:

INFO: RemoteControl::Accepting connections on localhost/0:0:0:0:0:0:0:1:8111
INFO: RemoteControl::Accepting secure connections on localhost/0:0:0:0:0:0:0:1:8112

I can confirm that it only listens on an ipv6 socket:

flo@p2:~$ sudo netstat -tlnp | egrep ""8111|8112""
tcp6       0      0 ::1:8111                :::*                    LISTEN      22674/java      
tcp6       0      0 ::1:8112                :::*                    LISTEN      22674/java      

telnet confirms the binding:

flo@p2:~$ telnet localhost 8111
Trying 127.0.0.1...
telnet: Unable to connect to remote host: Connection refused
flo@p2:~$ telnet ::1 8111
Trying ::1...
Connected to ::1.
Escape character is '^]'.
^]close

telnet> close
Connection closed.


==== Please provide any additional information below. Attach a screenshot if possible.

{{{
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2015-05-04 21:53:02
Last Changed Author: Don-vip
Revision: 8327
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Relative URL: ^/trunk
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2015-05-04 23:48:52 +0200 (Mon, 04 May 2015)
Last Changed Rev: 8327

Identification: JOSM/1.5 (8327 en) Linux Debian GNU/Linux 7.8 (wheezy)
Memory Usage: 397 MB / 910 MB (290 MB allocated, but free)
Java version: 1.7.0_65, Oracle Corporation, OpenJDK 64-Bit Server VM
Java package: openjdk-7-jre:amd64-7u71-2.5.3-2~deb7u1

Plugins:
- RoadSigns (30977)
- Tracer2 (30984)
- buildings_tools (31100)
- kendzi3d-jogl (37)
- kendzi3d_Improved_by_Andrei (1.0.179-SNAPSHOT)
- log4j (30892)
- measurement (30892)
- reverter (30990)
- terracer (30892)
- turnlanes (30892)
- turnrestrictions (31034)
- utilsplugin2 (31072)
}}}
"	defect	closed	normal	15.05	Core remotecontrol		fixed	template_report remote control ipv6 regression	Don-vip bastiK
