I have created docker images of two reasons of smartfox. Both are working as admin page can be launched succesfully but i can not login to admin panel, i am using these credentials:
Host: 127.0.0.1
Port: 9933
Username: sfsadmin
Password: sfsadmin
Docker Image
Re: Docker Image
Hi,
what error does the client get?
Are you sure port 9933 is reachable (e.g. Firewall rules are in place)
Thanks
what error does the client get?
Are you sure port 9933 is reachable (e.g. Firewall rules are in place)
Thanks
Re: Docker Image
It shows cant connect to 127.0.0.1
I tried docker on both local machine and jelastic and same problem occurs that i cant login to admin panel.
May be i m doing something wrong in dockerfile, here is the content of dockerfile:
FROM debian
ENV SMARTFOX_VERSION 2_14_0
RUN apt-get update && \
apt-get install -y wget unzip
RUN wget http://www.smartfoxserver.com/downloads ... S2X_unix_${SMARTFOX_VERSION}.tar.gz && \
tar xf SFS2X_unix_${SMARTFOX_VERSION}.tar.gz && \
rm SFS2X_unix_${SMARTFOX_VERSION}.tar.gz
WORKDIR /SmartFoxServer_2X/SFS2X
ENTRYPOINT ["sh", "sfs2x.sh"]
EXPOSE 8080 9933 9933/udp 9932/udp 8787 5000
I tried docker on both local machine and jelastic and same problem occurs that i cant login to admin panel.
May be i m doing something wrong in dockerfile, here is the content of dockerfile:
FROM debian
ENV SMARTFOX_VERSION 2_14_0
RUN apt-get update && \
apt-get install -y wget unzip
RUN wget http://www.smartfoxserver.com/downloads ... S2X_unix_${SMARTFOX_VERSION}.tar.gz && \
tar xf SFS2X_unix_${SMARTFOX_VERSION}.tar.gz && \
rm SFS2X_unix_${SMARTFOX_VERSION}.tar.gz
WORKDIR /SmartFoxServer_2X/SFS2X
ENTRYPOINT ["sh", "sfs2x.sh"]
EXPOSE 8080 9933 9933/udp 9932/udp 8787 5000
Re: Docker Image
Hi,
I have not used Docker before so I cannot help with the specifics however I'd recommend two things:
1) Double check the server is actually running (obvious, but still...)
2) Check the TCP port is bound. For example by telnetting such port (e.g. telnet <ip-addr> 9933)
Also a small warning about this:
Typically you will need to use sfs2x-service start to launch the server in production.
Hope it helps
I have not used Docker before so I cannot help with the specifics however I'd recommend two things:
1) Double check the server is actually running (obvious, but still...)
2) Check the TCP port is bound. For example by telnetting such port (e.g. telnet <ip-addr> 9933)
Also a small warning about this:
Code: Select all
ENTRYPOINT ["sh", "sfs2x.sh"]
Typically you will need to use sfs2x-service start to launch the server in production.
Hope it helps
Who is online
Users browsing this forum: Google [Bot] and 102 guests