LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1136|回复: 0

求教一个菜鸟问题

[复制链接]
发表于 2009-7-15 02:31:35 | 显示全部楼层 |阅读模式
我有两台电脑,一台是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.


不好意思,打成了英文,因为刚刚发去其他地方发问了,大家将就看一下吧。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表