我的问题怎么了 [英] Whats happening for my problem

查看:88
本文介绍了我的问题怎么了的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道我最简单的问题的答案

我已经使用开关连接了两台计算机

现在我们俩都在聊天

意思是说我有ip 127.0.0.1
和其他电脑有127.0.0.2

现在我将PC上的味精发送到127.0.0.2

发生的事情很好

但我的主要问题是这个

当我尝试向自己的IP发送消息时,要说127.0.0.1

交通顺序是什么?

i want to know an answer of my simplest question

i have connected two computers by using switch

now we both are chatting to each other

mean to say i have ip 127.0.0.1
and other pc have 127.0.0.2

now i send msg from my pc to 127.0.0.2

that is happening good

but my main question is this

when i try to send message to my own Ip mean to say 127.0.0.1

what will the trafic sequance?

my message will travell to the switch in case my own ip is send msg to my own ip????

推荐答案

您不应该直接使用127.0.0.1一个不会在您的网络上出现的环回地址.

您应该使用类似192.168.x.x的地址.
You should not use 127.0.0.1 as it is a loop back address which will not go on your network.

You should be using something like 192.168.x.x addresses.


这篇关于我的问题怎么了的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆