|
我有两台电脑,一台是windows xp,一台是linux suse。还有一个switch,我现在试图用switch把两个机子连起来,构成一个不进入因特网的LAN。
when i connect both linux and windows to the internet,
(我先是将两台机子都连到因特网。)
I use "telnet ***.***.***.**** 5432" on windows platfrm, to connect the linux. (5432 is the service socket database in the linux used to listen)
It works,
and also i can successfully access to postgreSQL database in the linux, through pgAdmin client in window.
when i connect two as a LAN through the switch without internet.(接着就是实现我的LAN)
i set windows IP as 192.168.0.1
and linux as 192.168.0.2
I can successfully ping each other.
BUT, i CANNOT "telnet 192.168.0.2 5432" from windows to linux.
It seems the socket 5432 is closed in this configuration.
of course that, i also cannot connect the pgAdmin client to the database in linux.
不好意思,打成了英文,因为刚刚发去其他地方发问了,大家将就看一下吧。 |
|