![]() |
Ubuntu 11.10 With Nginx [ISPConfig 3] port problem
http://www.howtoforge.com/perfect-se...nx-ispconfig-3 installed 2 different machine. Local network access ok. adsl modem port forwarding okey (21,22,23,53,80,110,143,443,587,3306,8080). Debian 6 installed other server running no problem. Ubuntu nginx server restrict access on internet. mxtoolbox.com my ip port scan results 23,53,80 success and 21,22,25,110,143..... and other port error "No connection could be made because the target machine actively refused it"
What is the solution ? |
What are the outputs of
Code:
netstat -tapCode:
iptables -LDoes your router forward the ports to the correct server? |
netstat
Code:
root@sunucu:~# netstat -tapCode:
root@sunucu:~# iptables -L2- Does your router forward the ports to the correct server? 1- Yes Ubuntu server. 2- Yes correct server |
tcp 0 248 sunucu.siberbilgisa:ssh 192.168.2.138:52647 ESTABLISHED 30669/0 . I could not understand it
Ubuntu server local ip : 192.168.2.250 Other server debian : 192.168.2.200 no problem port. add : 192.168.2.138 my pc ip :D |
System information as of Wed Dec 7 17:52:54 EET 2011
System load: 1.49 Processes: 292 Usage of /: 4.5% of 145.50GB Users logged in: 0 Memory usage: 46% IP address for eth0: 192.168.2.250 Swap usage: 0% -------------------------------------------------------------------------- vi /etc/network/interfaces # This file describes the network interfaces available on your system # and how to activate them. For more information, see interfaces(5). # The loopback network interface auto lo iface lo inet loopback # The primary network interface auto eth0 iface eth0 inet static address 192.168.2.250 netmask 255.255.255.0 network 192.168.2.0 broadcast 192.168.2.255 gateway 192.168.2.1 ~ --------------------------------------------------- vi /etc/hosts 127.0.0.1 localhost.localdomain localhost 192.168.2.250 sunucu.siberbilgxxxxx sunucu # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters |
Can you turn off the firewall for testing purposes? Does it work then?
|
Which firewall ?
|
On the Ubuntu server. You can use ISPConfig to switch it off.
|
Quote:
|
So the problem must be your router or your ISP that blocks some ports. Please check.
|
| All times are GMT +2. The time now is 00:06. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.