Skip to content

Errors caused by NAT port mapping #42

@ghost

Description

This issue has been troubling me for a long time. When encountering a JMX service in the internal network, and the jmxremote.port is mapped to the upstream IP through NAT port forwarding, all tests will fail. I look forward to a solution.

Here, my setup is as follows:
vmware workstation host
ip: 172.16.67.128
os: Ubuntu 20.04

docker container
ip:172.17.0.2
image: docker pull tomcat:7.0.68-jre8

a Docker container installed on VMHost, with Tomcat 7.0.68 running JMX service, IP mapped from 172.17.0.2:9999 to 172.16.67.128:39001.

The 1st screenshot describes the problem I encountered.
image

The 2nd screenshot shows that testing is successful when directly accessing the internal IP and port.
image

Metadata

Metadata

Assignees

No one assigned

    Labels

    fixed on devfor bugs fixed in the dev version

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions