This topic has been archived. It cannot be replied.
-
工作学习 / IT技术讨论 / 如何知道自己电脑的真实IP和端口号?自己在本机上做了一个asp.net的网页,家里用的是Rogers Cable高速网,router共享IP,请问如何让别人通过IP地址访问我电脑上的网页?我从一些论坛上看到了自己的真实IP地址,但是还需要知道router上的端口号是吗?如何能知道呢? 除了这两项,还需要什么别人才能访问?我装了IIS。
-tony_yang(月饼);
2004-9-12
{259}
(#1882018@0)
-
端口和PC无关,只和程序有关,如webserver 用80, ftp 用21,22等。
so, mapping 80 port in router from your public ip address to you pc‘s ip address normally 192.168.X.X.
-leafs(Go Flames Go!);
2004-9-12
(#1882142@0)
-
多谢!请问怎样mapping?
-tony_yang(月饼);
2004-9-12
(#1882170@0)
-
there should be a port forwarding feature in your router
-jacknz(south pac);
2004-9-12
(#1882171@0)
-
还是不知,能否指教步骤?通过什么可以设置?我在router手册上没有找到相关设置处。
-tony_yang(月饼);
2004-9-12
(#1882186@0)
-
不是我一个人不知道,我搜索了这个栏目,老早也有人问如何设置SMC路由的map port,但是无果,因为厂家提供的设置程序里没有map port或forwarding之类的界面。有无其它办法?
-tony_yang(月饼);
2004-9-12
(#1882227@0)
-
address mapping: Advanced Setup->NAT->Address Mapping 把你的外部IP map 到你的local IP,就可以了。至于开放端口,你可以设置 Virtual Server和 Special Application来实现。
-aristotle(秋天来了冬天还会远吗);
2004-9-12
(#1882269@0)
-
sorry,确实是我没有仔细看,先前也选了NAT,只看到提示,原来在左边选择才能看到。但是太高深了,不敢贸然设置。就我的需要,是否就只设maping即可,上面你说的开发端口什么的,和我的需要有无关系?
-tony_yang(月饼);
2004-9-12
(#1882291@0)
-
还有,我若将外部IP maping到我的内部IP,那和我share 路由的人会不会受到影响?
-tony_yang(月饼);
2004-9-12
(#1882293@0)
-
不会。你的情况只要做address mapping就可以了。
-aristotle(秋天来了冬天还会远吗);
2004-9-12
(#1882325@0)