1
vote
3answers
78 views

Despite of several attempts, unable to open port 25

This question may have been asked many times here but after several failed attempts, I repeat the history: How do I open port 25 port on my server running CentOS. Here is my iptables config: Chain ...
-1
votes
2answers
19 views

How to bind munin to use a vhost or port number?

Currently I'am able to access my munin setup using the default url. www.mydomain.com/munin For security reasons, I want to only allow Munin to be access using port number. Like this ...
0
votes
1answer
83 views

CentOS postfix smtp server connection refused from outside

I am quite stuck with my postfix/smtp configuration on my CentOS machine. I setup a mail dns mail.domain.tld, configured in the postfix main.conf file and tested locally on the server by connecting ...
0
votes
1answer
39 views

Adding port 25 to iptables won't getting to open centOS

I am facing a problem to open port 25 with iptables on my CentOS machine. I checked the connection by 'nmap' and 'telnet' but both failed. The follow things I did to trying make this work: iptables ...
0
votes
1answer
65 views

Apache2 can't bind to any port, multiple apache servers starting?

I have changed the apache2 (httpd) on CentOS 6.4 listen port to 80, 443, 25640 etc no ports seem to work (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening ...
0
votes
2answers
101 views

How to modify iptables so a port is accessible on the server

when I do curl --insecure https://localhost/svn from my linux box I can see that it is returning some data However, when I run curl on this machine from another machine on the same network e.g. ...
-4
votes
1answer
186 views

Open Port 123 to change Server time [duplicate]

How can I actually open port 123 on my CentOS server, so I can synchronise my server with another server's time? I couldn't be able to open 123 port using google guides.
1
vote
1answer
131 views

how to make my Linux to listen on his public ip rather than the private IP

I have a virtual machine on some public cloud. the physical IP is not routeble. the ISP provided for me with a public IP and the NAT is being done using the ISP FW. on that Server I'm running ...
1
vote
1answer
180 views

Could not open port for activeMQ broker on CentOS

Here is my problem: We have a virtual machine on VMware ESXi with CentOS 6.3 system (devserver). We use port forwarding to access ports on the virtual machine. We deploy our application in tomcat on ...
0
votes
1answer
3k views

MySQL remote access not working - Port Close?

I am not able to get a remote connection established to MySQL. From my pc I am able to telnet to 3306 on the existing server, but when I try the same with the new server it hangs for few minutes then ...
1
vote
1answer
188 views

centos iptables, restrict tcp port to specific ips

I would like to modify the iptables on my CentOS 5.8 server so that only specific ips can connect to the machine on a specific port. Currently, I have the following in my iptables file: -A ...
0
votes
1answer
159 views

Cannot get to CentOS/Apache2 (VirtualBox) website after changing listening port

I have a webserver built via virtualbox that I had running fine with Port 80. I am currently trying to change the port # to 8088 so that our IT people can open it to the outside world to allow ...
2
votes
2answers
924 views

iptables: Allow port range but deny to certain IP

I am running a server which needs UDP ports 1000:11000 opened, as well as TCP 10011 and 30033 open to function. I have a set of iptables rules set to allow SSH and those ports, and intentionally left ...
3
votes
4answers
962 views

Varnish, hide port number

My set up is as follows: OS: CentOS 6.2 running on an OpenVZ virtual machine. Web server: Nginx listening on port 8080 Reverse proxy: Varnish listening on port 80 The problem is that Varnish ...
1
vote
1answer
848 views

How to open port 10011 in centos using iptables

I need to open port 10011 for an application called Teamspeak 3 to work. I'm using CentOS and i tried the following commands : sudo iptables -I INPUT -p tcp --dport 10011 -j ACCEPT i pressed ...
0
votes
2answers
1k views

SNMP (net-snmp) port configuration

I'm setting up net-snmp on CentOS and I'm getting an issue setting up non-default port. Basically, if I set it up as 161 or port 32768 or greater, it works fine, but it doesn't work for anything ...
0
votes
1answer
275 views

IP Tables Port Forwarding

I have 4 servers behind a load balancer, but only 1 of them is running a particular service. I want three of them to forward requests to the fourth, based on the port. So, at present all 4 are running ...
-2
votes
2answers
207 views

can't ssh from port 22 to example.com:8080

-I have opened port 8080 and I can access it with 192.168.1.40 and also no-ip domain -Installed vsftpd -Opened port 80,8080,20,21,22 and 11000-11100 However I can't ssh to it. I have another sever ...
0
votes
2answers
5k views

How to open a port in Centos 6

I'm a newbie at Centos. I need to open a few ports in Centos. I've googled it a little bit, and found something like this. -A RH-Firewall-1-INPUT -m state --state NEW -m tcp -p tcp --dport 143 -j ...
0
votes
3answers
1k views

Cannot change PostgreSQL port

I run Postgresql 8.4 as a service on a CentOS 6.2 server. I set port = 21444 and listen_addresses = '*' in /var/lib/pgsql/data/postgresql.conf and I changed 5432 to 21444 in postmaster.opts and ...
1
vote
1answer
85 views

How to filter some protocols on all ports

Under CentOS, how can I filter traffic by protocol rather than by port? For example, I would like to filter ftp traffic regardless of the port being used in order to prevent users on the network from ...
2
votes
3answers
6k views

How to open OpenVPN port (1194) on server?

I have been installed OpenVPN server on my CentOs VPS, and it started successfully And try to configure iptables for it by following command: iptables -A FORWARD -m state -–state RELATED,ESTABLISHED ...
0
votes
2answers
633 views

CentOS port closed even when iptables is stopped

I've recently got a VPS running CentOS 6.X, I installed Gnome and configured VNC. vncserver is running fine, but I can't connect to it. I checked the ports from outside and noticed that port 5901 is ...
1
vote
2answers
9k views

Opening up port 8080 in CentOS

I'm new to opening up ports in CentOS. I need to open up tcp port 8080 and have installed/ran nmap to find it is not open already. I've been reading about the iptables command, I have v1.3.5 installed ...
16
votes
10answers
91k views

Check if port is open or closed on a Linux server using SSH?

How can I check if a port is open or closed on a Linux server (running Cent OS 5 and cPanel) using SSH? EDIT: And how can I open the port if it is closed? Thanks, James
1
vote
1answer
772 views

How do you run Nginx on port 8080 and Apache on port 80 on the same box?

I want to install Node.js on my box (CentOS 5) for testing and sandboxing but I can't uninstall Apache as recommend by developers using Nginx. So what I'd like to do is have Nginx serving ...
0
votes
2answers
644 views

Which UDP ports are required to resolve external hosts?

Today I asked my hoster to block all UDP ports except port 53. Due to daily UDP attacks, this was currently the only option to stop flooding my lines. Now since the block is in place, I cannot wget ...
0
votes
3answers
728 views

Server not reachable on all TCP ports from all locations

I have a very strange situation on a Linux (CentOS) server. Firstly, from my Ubuntu desktop PC, I can successfully connect to all services that are running on it, on ports 22, 80, 8080 and others. ...
1
vote
3answers
180 views

Assistance with opening additional ports - CentOS

I'm trying to open an additional outgoing port on my VPS (port 5900). Here is my /etc/sysconfig/iptables: # Generated by iptables-save v1.3.5 on Sun Jul 10 11:27:12 2011 *mangle :PREROUTING ACCEPT ...
3
votes
2answers
373 views

Is my linux firewall secure?

I am newbie to linux firewalls and trying to setup my systems firewall for a public facing computer. Here are my requirements: Ports 80 and 22 should be open for HTTP requests and SSH logins Since ...
0
votes
1answer
189 views

Multiple web-services all running on port 80 with IPTABLES

I'm basically wondering what is best practice when running multiple web-services that all need to be on port 80 without using something like nginx as a proxy. The following solution is actually ...
2
votes
4answers
2k views

Cent OS firewall opening port

I've installed postgre on a CentOS server. I basically followed this guide here: PostgreSQL On the last step it says I need Open TCP port 5432 and to do so I need to add the following line to my ...
1
vote
3answers
1k views

Check port status on CentOS

I have a CentOS machine, and I opened a port on witch I should get a stream (actually it is the 5004 port - rtp). However, seems like the stream is not received. Is there anyway to check on status of ...
0
votes
2answers
3k views

Port based virtual hosts in CentOS 5.5 / Webmin

I am trying to setup virtual hosts in the respect that everything is in the /var/www/html/ root folder however, I am trying to setup folders within that and then setup port related url's. myserverip ...
0
votes
1answer
1k views

Listening to 80 port with non-root Glassfish on Centos

I use Glassfish Stack to manage applications. I run Glassfish on CentOS with non-root user. Therefor I am not able to open 80 port as the ports under 1024 are accessibly only by root users. There is ...
1
vote
3answers
161 views

Regarding ports in Virtual Private Servers

Hi I bought my first Virtual Private Server, mainly with the aim of learning about managing a server. I don't have any entries in my iptable, it's totally open but I still cannot to my server on ports ...
0
votes
4answers
13k views

Need to open port 10000 for webmin and 21 for FTP in Centos?

Hi hwo can I open these two ports in CentOS. I have used webmin with Ubuntu before but I never had to manually open any port. When I enter iptables -L I get a output like this. Chain INPUT ...
0
votes
1answer
2k views

Change Tomcat Port on CentOS 5.3

I installed Tomcat5 on CentOS 5.3, by default tomcat runs on port 8080 but i already have ISPConfig running on that port. Port 80 is taken up by Apache How do I know which port tomcat is listening ...
0
votes
2answers
2k views

how to open port 5222 on centos 5 cpanel

How can I open ports tcp 5222 and udp 5222 on a centos 5 box running with cpanel, I've tried doing it through iptables then when i've restarted the tables it freezes and timesout when i reload it ...