| |

VerySource

 Forgot password?
 Register
Search
View: 1755|Reply: 3

How to establish port mapping or realize the function of simultaneously accessing the external network and the internal

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-1 00:30:01
| Show all posts |Read mode
The requirements are as follows:

Computer A has a public IP, and now needs to provide WEB services on computer A, but the database server is installed on B

B does not have a public network IP, and computer A can form a local area network so that A's Web services can be accessed on the public network and the internal network?

1. How to implement port mapping? (Both the WEB service and the database service are installed on B, and A port mapping is provided on A. Is it possible?)

2. How does A install dual network cards?
Reply

Use magic Report

0

Threads

21

Posts

19.00

Credits

Newbie

Rank: 1

Credits
19.00

 China

Post time: 2020-5-17 20:15:01
| Show all posts
B does not have a public network IP, and computer A can form a local area network, so that both the public network and the internal network can access A's Web service?
------------------------
If you do n’t need a database connection, use the intranet IP.
Reply

Use magic Report

0

Threads

9

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-7-26 14:30:01
| Show all posts
If your database server is to provide services for the website on A, there is no need for B to be accessible by the Internet.

If you want to get both the WEB and the database on B, and A is only a front-end server, enable routing and remote access services on A, configure it as a NAT server, perform port mapping, and map out the required ports on B. can. A requires 2 network cards
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-7-26 19:30:01
| Show all posts
It is generally not recommended to expose the DB server to the public network
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list