I’ve set up a Mariadb server on my raspberry pi and I can access it over 192.x.x.x but I can’t access it over my public IP address, I know I need to port forward can anyone tell me how to do this exactly, I use talk talk wifi.
You need to create a port forward as you mention.
external IP:port > Internal IP:port
x.x.x.x:3306 > 192.x.x.x:3306
The default port of MySql is 3306.
Related
I learned to write a client and server application and how to connect them. The server host has to forward a port in the router to be able to a establish a connection.
Is it possible to connect two devices in the same network without port forwarding/triggering?
The server host has to forward a port in the router to be able to establish a connection.
You have this back to front. The router has to forward a port to the server host in order for clients outside the router to be able to form connections.
Clients inside the router, i.e. in the same subnet as the server host, can connect directly.
Yes as long as the devices are in the same network, no port forwarding is required.
Whenever a server is inside a NAT and you try to access it from outside, you have to configure port forwarding in your router.
Example:
You create a server running on port 8080 with IP 192.168.1.12
Suppose your router's public IP is 10.2.2.5
So you need to enable port forwarding in your router for port 8080 to 192.168.1.12:8080
Then you can access that server from outside with 10.2.2.5:8080
Thanks fellows, here's my question.
I have a FTP server running on my PC behind a router. Let's say its IP Address is 192.168.1.2
My public IP Address which is the IP I set in my Router is let's say it's 137.132.228.27
How I should I access my FTP server from Internet?
Normally people use port forwarding. Forward port 21(the FTP port) to my PC. But in my case the Router which is the property of university is out of my control so how can I access my FTP server with the two IP addresses given above.
Thanks
Linus
In this case you can only run FTP server for(accessible from) local Computers. not the computers from the internet. Unless you forward ports to your pc(that you mentioned you can not so its not possible)
As others have suggested, getting a Dropbox account is probably the simplest solution.
If you can't get your university IT admins to set up the port forwarding, then you may not be able to connect to it.
Hi I am trying to make my router(TPlink router) to forward port by configuring it and by creating NAT virtual server or port triggering. Firstly the port doesn't open which I have checked via an online website, the port is closed. Secondly if the port does open, would I be able to access my computer or computer server or a website hosted on my wamp server externally via another network from some other place externally? I am not sure what are the things on my computer that I would be able to access from outside? How exactly am I going to do it? I am aware that I am going to use my router external ip address which I know and the port that I have associated with the ip address of the computer I am trying to access. I am just a beginner but I am really into networking. Can somebody explain the entire process please?
Your local host can be accessed from anywhere in the world.
Just use put the ip of the pc/wamp server installed pc in the DMZ Box under Forward Menu of your tp-link router & enable DMZ option.
I am learning how to create an ubuntu server to use to host a database and run a script as a thread to do some things for my graduation project...
I installed ubuntu server with lamp environment and managed to connect it to an ethernet local network that connects to the internet .. my design looks like this
except the router is also connected to a dsl modem and to the internet...
I can easily connect to the server from the local network but how can I connect to it from outside this private network ?
I know the router public ip address and the server private ip address
You need port forwarding. mean, in your router settings you define that incoming requests to specific port/protocol will redirects to specific ip (of the ubuntu).
See https://en.wikipedia.org/wiki/Port_forwarding
You will need to set up port forwarding on the router such that the router's external port 80 is forwarded to the server's private port 80.
What router is it? Its guide should detail how to set up port forwarding
Hi I have a server running on my computer, and the client program tries to connect with my IP address on port 5000 through a TCP connection. How do I get my computer to allow this? I know it has something to do with port forwarding settings but I forget how to do it. I use Verizon if that helps.
It depends on your location / computer / OS which you don't specify. It sounds though like your running a server at home??
To accomplish this in Windows, I would set a rule on my router to allow tcp over 5000 and specify to which local IP address to forward it and on the receiving PC/server in Windows Firewall set a custom rule to again allow tcp 5000.