| |

VerySource

 Forgot password?
 Register
Search
View: 851|Reply: 1

Questions about the use of wget under linux, everyone HELP me

[Copy link]

3

Threads

4

Posts

5.00

Credits

Newbie

Rank: 1

Credits
5.00

 China

Post time: 2020-1-29 07:40:01
| Show all posts |Read mode
Now when I write a test program, I have a problem using wget.

basic configuration:

1. Use client software to access the LINUX server.

2. Two LINUX servers, one for a local LAN virtual machine is assumed to be A, and one for a non-local LAN LINUX server is assumed to be B.

3. You can run the wget tool on it.

4. The machine executing the client and the virtual machine, and the machine C to be accessed are located in the same local area network.
The specific problem is this;

1. When the virtual machine in the local area network is used as the server, my machine executes the client program to access machine C, and executes wget -q -t0 ftp://192.168.18.200/WaveFiles/*.wav to get these .wav files.

2. However, when I use a B-based server and execute a client program to access machine C, I execute wget -q -t0 ftp://192.168.18.200/WaveFiles/*.wav and cannot access it.

How do I modify it to access it normally?
Reply

Use magic Report

0

Threads

10

Posts

8.00

Credits

Newbie

Rank: 1

Credits
8.00

 Invalid IP Address

Post time: 2020-3-2 11:45:01
| Show all posts
In fact, this is a network configuration problem. You must ensure that computer b can access c through the IP of c.
But from your description, you reverse the client and server, or your description is more confusing
I suggest you first draw a topology diagram to show the relationship between them and the way the network links.
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