Make your ip open for remote access - remote-access

I try to enable into my desktop the remote access option to this desktop.
Everything setted ok but when I try to login using the remote access from another place it doesn't work.
The computer is open.
I made a ping to my desktop address and I receive this
Request timed out.
Request timed out.
Request timed out.
Request timed out.
so it seems it is not recacble to public
Any help how can I fix it?

You will have to change settings on your router to forward the request to "this" desktop. And the request, from remote, should be made to the public IP of your router that your ISP assigned to you.

This might not solve your problem, but it does answer the (title of) your question: try ngrok

Related

IP address is not allowed for this token on API CALL

please bear with me, I am a newbie in integrating APIs and so I am encountering some issues that need help from experts. I am working on API that has only the server IP address whitelisted to access resources on it. However, I am working from my local PC in doing the integration. Now when I try accessing the API from the localhost, it tells me that my PC's IP address is not allowed for the token I am using. I have tried to do some google search on how to use the server's IP address from my PC and I have come across something called PORT FORWARDING. I have tried to figure out what it is but I am getting some difficulties setting it up on my PC. Could someone help me with any alternatives to making requests using my server's address from my PC? If not, I will appreciate it if someone could explain to me what port-forwarding is in layman's language and if possible through a reference. Thank you in advance. I am on Linux-mint
To make a request with your server's IP address, the request has to at least pass through your server. Setting up an temporary SSH "port forward" is the easiest way to do it. The following command opens an SSH session with your server machine, and for the duration of the session the ssh client will listen for connections on TCP port 8443 on your dev machine and the server will forward them to somewebsite.net:443.
ssh -L 8443:somewebsite.net:443 your.server.name
If you now send a request to https://localhost:8443 from Postman, SSH will tunnel the request to your server. The server will communicate with somewebsite.net on your behalf, and the request will have your server's IP address.
See longer discussion of this feature for example at:
https://www.ssh.com/ssh/tunneling/example
https://phoenixnap.com/kb/ssh-port-forwarding
This style of port forwarding is not without its problems though. You are using HTTPS, which includes protections against a "middle man" intercepting connections like this. You can get around this by disabling certificate verification. Another problem is that somewebsite.net may expect you to set the Host HTTP request header to "somewebsite.net", and it will be set to "your.server.name" instead.

io.connect using a public IP not working - Node.js

So, I'm having an issue where I'm using a public IP in my io.connect. The problem is that it does not connect.
I'm 100% sure that the ports are opened and that the firewall is not blocking the ports.
The code is:
// Try connection
try {
var socket = io.connect('http://94.211.125.196:8080');
} catch(e) {
// Set status to warn user
}
I did not get any errors. It should only show some messages inside my chat program which it isn't because of the connection not working.
If I use a local IP it does work.
UPDATE
I have asked a question about Node.js and public IP's before, which is different than this question because I was talking about the /socket.io/socket.io.js in that question. This question is about the io.connect.
Fixed the issue.
I check everything, I made sure that I port forwarded everything to correct way to the server and also made sure that the server wasn't blocking the port.
Apparently, my second router has all ports forwarded except this one. This caused the issue which is now fixed.
Thanks to everyone who helped!

Accessing a server using VPN connection

I am trying to connect to a university server using a VPN client. I can connect to the client. Also, if I ping the server by name and by IP address, they both work:
ping servername
ping serveripaddress
However, I cannot access the server from the browser if I type:
\servername
\serveripaddress
and also I do not see anything in Network apart from my own computer. I changed my Workgroup to the correct Workgroup, and it still doesn't work.
Also, as my DNS suffix I use the domain name as well as the FQDN, but it doesn't work either.
I restarted after each of these changes, but it didn't help.
I read that when I have a VPN connection working and I am also able to ping the server to which I want to connect, it is most probably DNS resolution problem. But I do not know anymore what to do (I checked and tried the correct DNS suffixes).
Do you know what should I do more? I am using Windows 7.
Thank you.
It sounds like you're trying to use UNC pathing. Assuming that you're getting your network settings from DHCP, are you getting a WINS server?

Socket.IO Connection Not working on University Wifi

I have created an chat app using Socket.IO . It works fine on my home internet. But whenever I am at my university and connected to versity wifi internet, I can't get connected at all. Its facing 'net::ERR_CONNECTION_TIMED_OUT' error.
Here is the url: demo.codesamplez.com/ultrachat/demo.html (You will may get it OK, as I do on home)
I guess, this might be some kind of firewall issue or something?
Does anybody has any clue how to go forward for solving this? Thanks in advance.
Switching from HTTP to HTTPS should get around the problem with incompatible proxy server. That forces the proxy to use HTTP tunneling to maintain the connection instead performing whatever magic it does.

No connection could be made because the target machine actively refused it firewall issue

I am doing socket-client programming in C#.
I have written TCPListener on Socket server side.
It works fine when I try to connect to it from client side on same machine. But if Socket server and client both are on different machine, I get exception saying "No connection could be made because the target machine actively refused it".
I checked socket information like ip address and port number on both the side which are absolutely correct.
I checked Antivirus log, it clearly stated that Antivirus/Firewall blocking the ip traffic.
I can't change Antivirus/Firewall settings as these are disabled by an Administrator.
Is there any programmatic way to tackle this problem? Is there any option while writing TCPLister or socket client which can provide me solution to tackle issue of Firewall.
Any help that can be provided would be greatly appreciated. Thank you.
I don't see how this could be done. If the firewall blocks the traffic, the firewall needs to be configured accordingly so traffic is allowed. There's no other way.

Resources