Max2Play Home › Forums › Max2Play Add-ons › [SOLVED] Printserver not working
- This topic has 13 replies, 2 voices, and was last updated 7 years, 8 months ago by Mbydeen.
-
Posted in: Max2Play Add-ons
-
12. Februar 2017 at 15:16 #26860
Hi there,
i’ve installed the printserver on my odroid u2/u3 max2play but i can’t see the printserver web interface?! The site http://max2play:631 won’t open, any ideas?
Thanks!
13. Februar 2017 at 13:41 #26874Dear wenkman,
Please have a look at this webpage:
https://www.max2play.com/en/wiki/using-the-plugin-printserver/
You also could try to uninstall and install the plugin again.
Best Regards,
Mohammad Mbydeen13. Februar 2017 at 19:44 #26910Thank you for the help, but the printserver web interface http://max2play:631/ still doesn’t open. Is there a way to check if it really is running? Maybe some telnet / shell process ID I could have a look at?
14. Februar 2017 at 12:37 #26916Dear wenkman,
you can try to do a simple test to see if the port accepts connections. you can use the nc command and the”-vz” option:
nc -vz IP_Address Port
for more information you can have a look at:
https://support.rackspace.com/how-to/testing-network-services-with-netcat/
Best Regards,
Mohammad Mbydeen14. Februar 2017 at 18:49 #26928nc: connectx to 192.168.2.125 port 631 (tcp) failed: Connection refused
15. Februar 2017 at 12:35 #26931Dear wenkman,
Please make sure that you disabled IPv6 on the raspberry settings page, because enabling IPv6 could cause broken links. and then you can check the CUPs service using this commands:
nmap -v -sV localhost -p 631
sudo netstat -tnlp | grep :631And please check the firewall settings if you are accessing the Print server from outside.
for more information, please check the following webpage:
http://serverfault.com/questions/725262/what-causes-the-connection-refused-message
Best Regards,
Mohammad Mbydeen18. Februar 2017 at 15:10 #27010Ok. Thanks so far. CUPS is listening on port 631 and I can get to it via wget from my max2play device (odroid), so the service seems to be Ok and running – but I cannot reach it from any other device in my network (Notebook, iPad, PC…) . So maybe it is some firewall issue? I only have a FritzBox router, I thought there was no port blocking or additional firewall there in my local network. Does anyone have any more ideas?
19. Februar 2017 at 15:50 #27024nmap -v -sV localhost -p 631
Starting Nmap 6.40 ( http://nmap.org ) at 2017-02-19 14:47 CET
NSE: Loaded 23 scripts for scanning.
Initiating Ping Scan at 14:47
Scanning localhost (127.0.0.1) [2 ports]
Completed Ping Scan at 14:47, 0.00s elapsed (1 total hosts)
Initiating Connect Scan at 14:47
Scanning localhost (127.0.0.1) [1 port]
Discovered open port 631/tcp on 127.0.0.1
Completed Connect Scan at 14:47, 0.00s elapsed (1 total ports)
Initiating Service scan at 14:47
Scanning 1 service on localhost (127.0.0.1)
Completed Service scan at 14:47, 6.02s elapsed (1 service on 1 host)
NSE: Script scanning 127.0.0.1.
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000093s latency).
rDNS record for 127.0.0.1: odroid
PORT STATE SERVICE VERSION
631/tcp open ipp CUPS 1.7Read data files from: /usr/bin/../share/nmap
Service detection performed. Please report any incorrect results at http://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 6.45 seconds=================================================================================================
sudo netstat -tnlp | grep :631tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 9464/cupsd
tcp6 0 0 ::1:631 :::* LISTEN 9464/cupsd19. Februar 2017 at 20:01 #27026… and „Logitech Media Server“ is reachable via „http://max2play:9000“ without any problems, printserver on „http://max2play:631“ not. Any more ideas?
20. Februar 2017 at 13:16 #27037Hi wenkman,
Please can you check iptables firewall. iptables is a user-space application program that allows a system administrator to configure the tables provided by the Linux kernel firewall. you can change the configuration to allow port 631 to accept data packets. Please check the following webpages:
https://help.ubuntu.com/community/IptablesHowTo
https://ubuntuforums.org/showthread.php?t=1849117Regards,
Mohammad20. Februar 2017 at 20:11 #27061iptables is not installed on my maxplay/odroid. Is it even possible that there is the problem? shall I install it via apt-get?
20. Februar 2017 at 20:58 #27063installed it. appended some rule. now it looks like this:
Chain INPUT (policy ACCEPT)
target prot opt source destination
ACCEPT tcp — anywhere anywhere tcp dpt:ipp
ACCEPT tcp — anywhere anywhere tcp dpt:ippChain FORWARD (policy ACCEPT)
target prot opt source destinationChain OUTPUT (policy ACCEPT)
target prot opt source destination… still doesn’t work…
-
You must be logged in to reply to this topic.