Portfreigabe Plesk + Ubuntu

K

Kosrona

Hallo,

ich hoffe die Community kann mir hier helfen nach endlosen google habe ich keine lösung gefunden.

Vserver:

Strato Ubuntu 12.04 + Plesk 11.0

Vorhaben:

Java Datei .jar die eine communikation von aussen mit einer sql datenbank ermöglicht. Diese benötigt einen port.

Problem:

Die Portfreigabe
Caused by: java.io.IOException: Protocol mismatch for port 5089: engine's protocol is http, the url protocol is https


Getestete Lösungen:

Plesk:
port Freigabe 5089 eingehen und ausgehen für TCP / UDP

http://img5.fotos-hochladen.net/uploads/unbenannt1zigfsqwu0x.jpg


Console:
iptables -A INPUT -p udp --dport 5089 -j ACCEPT
iptables -A INPUT -p tcp --dport 5089 -j ACCEPT
(auch mit OUTPUT)

------------------------------------------------------------------
Teste mit:

1. http://www.yougetsignal.com/tools/open-ports/ =5089 closed



2. iptables -L

Chain INPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
REJECT tcp -- anywhere anywhere tcpflags:! FIN,SYN,RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:5089
ACCEPT udp -- anywhere anywhere udp dpt:5089
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:8443
ACCEPT tcp -- anywhere anywhere tcp dpt:8880
ACCEPT tcp -- anywhere anywhere tcp dpt:http
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT tcp -- anywhere anywhere tcp dpt:ftp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssh
ACCEPT tcp -- anywhere anywhere tcp dpt:smtp
ACCEPT tcp -- anywhere anywhere tcp dpt:ssmtp
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3
ACCEPT tcp -- anywhere anywhere tcp dpt:pop3s
ACCEPT tcp -- anywhere anywhere tcp dpt:imap2
ACCEPT tcp -- anywhere anywhere tcp dpt:imaps
ACCEPT tcp -- anywhere anywhere tcp dpt:poppassd
DROP tcp -- anywhere anywhere tcp dpt:mysql
ACCEPT tcp -- anywhere anywhere tcp dpt:postgresql
ACCEPT tcp -- anywhere anywhere tcp dpt:9008
ACCEPT tcp -- anywhere anywhere tcp dpt:9080
ACCEPT udp -- anywhere anywhere udp dpt:netbios-ns
ACCEPT udp -- anywhere anywhere udp dpt:netbios-dgm
ACCEPT tcp -- anywhere anywhere tcp dpt:netbios-ssn
ACCEPT tcp -- anywhere anywhere tcp dpt:microsoft-ds
ACCEPT udp -- anywhere anywhere udp dpt:openvpn
DROP udp -- anywhere anywhere udp dpt:domain
DROP tcp -- anywhere anywhere tcp dpt:domain
ACCEPT icmp -- anywhere anywhere icmptype 8 code 0
ACCEPT all -- anywhere anywhere
ACCEPT udp -- anywhere anywhere udp dpt:https

Chain FORWARD (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
REJECT tcp -- anywhere anywhere tcpflags:! FIN,SYN,RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
DROP all -- anywhere anywhere

Chain OUTPUT (policy DROP)
target prot opt source destination
ACCEPT all -- anywhere anywhere state RELATED,ESTABLISHED
REJECT tcp -- anywhere anywhere tcpflags:! FIN,SYN,RST,ACK/SYN state NEW reject-with tcp-reset
DROP all -- anywhere anywhere state INVALID
ACCEPT all -- anywhere anywhere
ACCEPT tcp -- anywhere anywhere tcp dpt:5089
ACCEPT udp -- anywhere anywhere udp dpt:5089
ACCEPT tcp -- anywhere anywhere tcp dpt:https
ACCEPT all -- anywhere anywhere

Natürlich habe ich auch in der einstellungen der Jar versucht den port bereits auf einen offenen SSL port 443 zu legen allerdings selbe Fehler meldung.

Der Support sag die Port sind nicht frei ....

Was kann ich tun
 

Ähnliche Themen

Port Forwarding mit iptables

ip6tables Problem

[SOLVED][CentOS 7] Samba server nicht erreichbar trotz firewall regeln.

Debian Routing Problem

Netfilter Filter nicht

Zurück
Oben