#Opening a Port on VPS

34 messages · Page 1 of 1 (latest)

bitter plinth
#

hello all.... just got a VPS max from pebble....

I have set up a service with docker on this VPS but I'm not sure how to open a port to use the service outside the VPS...

locally on the VPS itselt all the ports are allowed...

localhost : 8443 redirects to the service...

but outside the vps local network... on my home machine:

vps dot veonz dot me colon 8443 doesnt work

and the portchecker tool online says that 8443 is closed...

why cant we have a feature on the control panel for the VPS to ensure ports are forwarded.. ???

can I get help here please ?

scarlet furnace
bitter plinth
#

VPS runs linux

netstat -lntu
shows all the ports allowed

#

all the ports that I need..

lyric silo
#

Just to chime in, we don't block ports on the VPS panel, only port 25 is filtered by default, so, the issue is with your machine/configuration, not the VPS panel/instance itself.

bitter plinth
#

does that mean all ports (except 25) are forwarded for the VPS ? and its a matter of controlling port rules on the VPS ?

edgy capeBOT
#

@bitter plinth, you just advanced to level 2 !

bitter plinth
#

The worst part is that its indeed listening

#

indeed running

#

but...

#

at my home machine, it indeed not showing...

scarlet furnace
bitter plinth
#

how could docker not be configured when its already working on the local machine ?

scarlet furnace
#

i'm not experienced in docker, so this is only a guess

bitter plinth
#

The service is already running locally on the default route... (zero dot zero dot...)

#

the port is already exposed...

#

wth is missing ?

scarlet furnace
#

on ubuntu, it's ufw allow <port>

bitter plinth
scarlet furnace
#

ok

#

hmm interesting

bitter plinth
#

the only explaination is that pebblehost could be blocking it...

scarlet furnace
#

but if you want, open a ticket to ask them

bitter plinth
#

Exactly.

bitter plinth
# bitter plinth

before someone asks...

yes that domain does point to the IP of the VPS.

bitter plinth
#

something happened...

it now works...

clear bay
#

@bitter plinth Did you do ufw restart, make sure to do that to update the ports

bitter plinth
#

I did one better... I rebooted and status shows ports are listening....
I just waited, went to my phone to try the browser from there and suddenly it works...