Forwarding method and system based on container ports
A forwarding method and port technology, which are applied in the field of container port-based forwarding methods and systems, can solve problems such as the impact of continuous use by users, and achieve the effect of simple and reliable operation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0021] Such as figure 1 As shown, this embodiment provides a container port-based forwarding system, the main body is a physical machine, and performs the interaction between the requester and the physical machine. The physical machine includes a port service interface, a port forwarding module, and a first code container (now There is a code container) and a second code container (updated code container), the port service interface is connected to the port forwarding module, and both the first code container and the second code container are connected to the port forwarding module.
[0022] Wherein, the port service includes port 80, the first code container includes port 1001, the second code container includes port 1002, the first code container is installed with an old version software program or an old version code program, and the second code container is installed with a new version software program Or a new version code program.
[0023] The container port-based forwa...
Embodiment 2
[0027] This embodiment provides a container port-based forwarding method based on the container port-based forwarding system in Embodiment 1, such as figure 2 As shown, the steps are:
[0028] S11, the requester initiates a request command, and the port service interface sends the request command to the port forwarding module using port 80, and the port forwarding module forwards the request command to port 1001; the port service interface includes HTTP port service, TCP port service, UDP port service and DNS port service, etc.;
[0029] S12. After receiving the request command at port 1001, the first code container feeds back the information content according to the request command, and then forwards the information content from port 1001 to port 80, and port 80 forwards the information content to the requester; the first code container An old version of a software program or an old version of a code program is installed;
[0030] S13, when needing to use the latest softwa...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

