Problem running Cuberite parallel to Apache2 Webserver on Raspberry Pi
#1
Hi guys,

i have a Problem with my freshly installed Cuberite Setup.
I'm using a raspberry pi B+, which is already running an Apache2 Server with a website automation for my fishtank. Simultaniously i wanted to use it as a minecraft server.
Compiling from source (github) worked for me but i could not reach port 8080 of the pi via my browser -> permission denied. I first tried messing with my iptables allowing all traffic on this port with no success. Using 
Code:
netstat -lptn
 i found that my fishtank camera stream uses crtmpserver on port 8080. Stopping this service did not help either. 
Any of you guys have an idea why i cant open the http page? 
Thanks in advance!
Reply
Thanks given by:
#2
Did you tried that? Change the port for the webadmin in the file webadmin.ini.
Reply
Thanks given by:
#3
yes i changed it to port 8081, also entering it in the browser of course, with no success.
Reply
Thanks given by:
#4
1. Make sure the port you picked is unused by other programs.
2. Make sure the port you picked is above 1024
3. Make sure you restarted Cuberite after changing the settings
3. The IPTABLES command for allowing access to the port is:

iptables -I INPUT -p tcp --dport <chosen port> -j ACCEPT

4. You should now be able to login from your browser by visiting:

<Raspberry Pi LAN IP>:<chosen port> # If browser is on a remote machine on same network

localhost:<chosen port> # If browser is on the raspberry pi.
Reply
Thanks given by:
#5
Hi everyone,

thanks for all the suggestions. I could solve the issue, but i dont know what caused it. I just recompiled cuberite and set the webadmin port to 8888. After some time i could access it from remote...

thanks guys
Reply
Thanks given by:




Users browsing this thread: 2 Guest(s)