Android Question Server Setup problem

grafsoft

Well-Known Member
Licensed User
Longtime User
Hi,

I am referring to http://www.b4x.com/android/forum/th...r-b4j-server-over-the-internet.37201/#content

I want an Upload from mobile devices.

It does not work so far. 127.0.0.1:54021/test gives me timeout, name of my domain with ":54021/test" also timeout.

Now I have some questions:

I asked the sysadmin to open the port. He asked me "name of application?" I said "FileServer" - is this OK?

TCPIP or UDP? TCPIP.

What do I set here?

Sub Process_Globals
Private domain As String = "xxx"
Private token As String = "yyy"

I have a server with ASP and PHP. Is it simpler to create an upload page with PHP? In this case: Do you have sample code somewhere?

Thank you

Peter
 

grafsoft

Well-Known Member
Licensed User
Longtime User
I had to restart the server, now it seems to work. Sorry for posting before trying all the possible actions.
 
Upvote 0

grafsoft

Well-Known Member
Licensed User
Longtime User
Sorry, does not work.

Locally: http://www.grafsoft.at:54021/test
gives me Your ip address: 78.142.139.12

http://127.0.0.1:54021/test also gives me the IP

Who is talking to me here?

From the mobile device I get no reply, just an error message after timeout.

This is my log:

Program started.
2014-02-18 17:18:45.796:INFO:eek:ejs.Server:main: jetty-9.1.z-SNAPSHOT
2014-02-18 17:18:45.843:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@1cb3087{/,file:/E:/b4j/FileServer/Objects/www,AVAILABLE}
2014-02-18 17:18:45.859:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened E:\b4j\FileServer\Objects\logs\b4j-2014_02_18.request.log
2014-02-18 17:18:46.000:INFO:eek:ejs.ServerConnector:main: Started ServerConnector@14fb35d{HTTP/1.1}{0.0.0.0:54021}
Server started
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
Update DuckDNS: KO
 
Upvote 0
Top