0
how to establish remote connection between server and remote client ?
I am making a chat application using that we can chat with person by sitting from India to America. so I built two scripts : but the problem is.. it is working only in local environment... how can I make to like real chat application? my scripts : https://code.sololearn.com/cCT0bZIgrMwS/?ref=app https://code.sololearn.com/cu8OXMrRu5Lx/?ref=app
8 Antworten
+ 1
Bind the port in the router and use your ip and not the localhost ip
+ 1
You should forward the port that you use in the Client and Server and you use the IP from the Server, you can get it with ipconfig in the console or just Google (what is my ip)
+ 1
Ipv4 is you ip and if this wont work try putting the port after your ip like this:
192.168.166.90:9998
And check if the port 9998 is used by other programs with the task Manager
+ 1
You should try to make an xampp Server and foreword Port 80 and try to acces your ip in the Browser. And if this wont work it is not possible. Or you can try do create an domain with noip. I feel sorry for you but i dont know what else to do, i never created a Server with python ):
0
Julian Bents i don't have router 😢.. can I use ngrok port forwarding ?
if yes then which port should I forward in ngrok
and which ip should I use in client. py and server. py
please help me! I am building chat application first time.. ☺️
0
Julian Bents
i used my ipv6 address in server and client. py and the port 9998
and I forward the port 9998
using ngrok command "tcp 9998"
but when I run server. py I am getting error
socket.gaierror: [Errno 7] No address associated with hostname
please help me!
0
Julian Bents still not working
😭
0
Julian Bents okk Sir
Thank you for the help !