Got it

The port is already in use

Created: Apr 27, 2020 10:50:33Latest reply: Nov 2, 2021 04:10:33 577 5 0 0 0
  Rewarded HiCoins: 0 (problem resolved)

Hi all,

Port 2000 is configured on the customer server. However, when configuring NAT server on the AR2200, a message is displayed, indicating that the port 2000 has been used. What is the port 2000 used for on the AR2200? How do I configure it as the NAT mapping port? Thanks.

[XX-GigabitEthernet1/0/5] nat server protocol tcp global xx.xx.xx.xx 2000 inside 10.10.216.1 2000 

  Info: The port is already in use, please use the other free ports

Featured Answers

Best answer

Recommended answer

Popeye_Wang
Admin Created Apr 27, 2020 10:51:03

Hello,

Run the display network status all command to view the tasks that occupy all the TCP/UDP port numbers.

Example

<Huawei> display network status all

Proto Task/SockId Local Addr&Port          Foreign Addr&Port        State

TCP   VTYD/1      0.0.0.0:23               0.0.0.0:0                Listening

TCP   HTTP/2      0.0.0.0:80               0.0.0.0:0                Listening

TCP   HTTP/1      0.0.0.0:443              0.0.0.0:0                Listening

TCP   VTYD/59     192.168.50.166:23        10.135.19.141:60445      Established

TCP6  VTYD/2      ::->23                   ::->0                    Listening

UDP   AGNT/1      0.0.0.0:161              0.0.0.0:0

UDP   SLAG/1      0.0.0.0:1025             0.0.0.0:0

UDP   RDS /1      0.0.0.0:1812             0.0.0.0:0

UDP6  AGT6/1      ::->161                  ::->0

UDP6  RDS /2      ::->1812                 ::->0

By default, the device uses port 2000 to listen on Portal protocol packets. You can use the web-auth-server listening-port command to the web port number.

Example

# Set the number of the port through which a device listens on Portal protocol packets to 3000.

<Huawei> system-view

[Huawei] web-auth-server listening-port 3000

I hope this helps.

View more
  • x
  • convention:

Chanbora
Chanbora Created Nov 2, 2021 04:11:42 (0) (0)
 
All Answers

Hello,

Run the display network status all command to view the tasks that occupy all the TCP/UDP port numbers.

Example

<Huawei> display network status all

Proto Task/SockId Local Addr&Port          Foreign Addr&Port        State

TCP   VTYD/1      0.0.0.0:23               0.0.0.0:0                Listening

TCP   HTTP/2      0.0.0.0:80               0.0.0.0:0                Listening

TCP   HTTP/1      0.0.0.0:443              0.0.0.0:0                Listening

TCP   VTYD/59     192.168.50.166:23        10.135.19.141:60445      Established

TCP6  VTYD/2      ::->23                   ::->0                    Listening

UDP   AGNT/1      0.0.0.0:161              0.0.0.0:0

UDP   SLAG/1      0.0.0.0:1025             0.0.0.0:0

UDP   RDS /1      0.0.0.0:1812             0.0.0.0:0

UDP6  AGT6/1      ::->161                  ::->0

UDP6  RDS /2      ::->1812                 ::->0

By default, the device uses port 2000 to listen on Portal protocol packets. You can use the web-auth-server listening-port command to the web port number.

Example

# Set the number of the port through which a device listens on Portal protocol packets to 3000.

<Huawei> system-view

[Huawei] web-auth-server listening-port 3000

I hope this helps.

View more
  • x
  • convention:

Chanbora
Chanbora Created Nov 2, 2021 04:11:42 (0) (0)
 
Please change port number from 2000 to other port number

please see below for more information:

Alarm Information
[Huawei]int g0/0/4

[Huawei-GigabitEthernet0/0/4]nat ser protcp glo curr 10001 in 192.168.1.249 10001
Error: The port is already in use, please use the other free ports.
1. Check the configurations.
2. Check the port that is in use.
3. Run the display adp-ipv4 port-info command to check information about the port that is in use.

Solution
Use another port. The fault is rectified.

https://support.huawei.com/enterprise/en/knowledge/EKB1100012258

View more
  • x
  • convention:

Chanbora
Chanbora Created Nov 2, 2021 04:11:49 (0) (0)
 
cool
View more
  • x
  • convention:

Comment

You need to log in to comment to the post Login | Register
Comment

Notice: To protect the legitimate rights and interests of you, the community, and third parties, do not release content that may bring legal risks to all parties, including but are not limited to the following:
  • Politically sensitive content
  • Content concerning pornography, gambling, and drug abuse
  • Content that may disclose or infringe upon others ' commercial secrets, intellectual properties, including trade marks, copyrights, and patents, and personal privacy
Do not share your account and password with others. All operations performed using your account will be regarded as your own actions and all consequences arising therefrom will be borne by you. For details, see " User Agreement."

My Followers

Login and enjoy all the member benefits

Login

Block
Are you sure to block this user?
Users on your blacklist cannot comment on your post,cannot mention you, cannot send you private messages.
Reminder
Please bind your phone number to obtain invitation bonus.