iOS Question can not connect to ...

Discussion in 'iOS Questions' started by Ramezanpour, Jan 28, 2015.

  1. Ramezanpour

    Ramezanpour Active Member Licensed User

    Hi

    when i click on debug

    b4i bridge closed and a msgbox show :
    can not connect to ..

    can you help me?
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    Are you able to install in release mode (Alt + t,b,r)?
     
    Ramezanpour likes this.
  3. Ramezanpour

    Ramezanpour Active Member Licensed User

    when i want to install a new b4i-bridge

    and when i click on install app
    it show cannot connect to 192.168.1.2
     
  4. Erel

    Erel Administrator Staff Member Licensed User

    Are you using a local Mac builder or the hosted builder?

    Where do you see this message?
     
  5. Ramezanpour

    Ramezanpour Active Member Licensed User

    i using local mac builder

    in safari


    my system is mac and i run windows on vmware
     
  6. Erel

    Erel Administrator Staff Member Licensed User

    Did it previously work and now it stopped working?

    Stop the server and start it again. Is the ip shown in the console correct?
     
  7. Ramezanpour

    Ramezanpour Active Member Licensed User

    no , its my first test !

    im frist have windows !
    but now i have macbook ! and test in it !

    ip is correct !

    b4i bridge work and show designer layout but i want to install again

    and i want to debug a app , then it show cannot connect...
     
  8. Erel

    Erel Administrator Staff Member Licensed User

    So previously you compiled with the hosted builder?
     
    Ramezanpour likes this.
  9. Ramezanpour

    Ramezanpour Active Member Licensed User

    No
     
  10. Erel

    Erel Administrator Staff Member Licensed User

    Did you run the Mac in a virtual machine?

    Please explain it better. It is impossible to help without the exact information.
     
    Ramezanpour likes this.
  11. Ramezanpour

    Ramezanpour Active Member Licensed User

    previously i run mac on vmware ... and it work

    but now i run windows on vmware
    i now have mac
     
  12. Erel

    Erel Administrator Staff Member Licensed User

    On your Mac delete key.txt and the key folder and start the server.

    Please post the terminal output.
     
    Ramezanpour likes this.
  13. Ramezanpour

    Ramezanpour Active Member Licensed User

    Ramezanpour-MacBook-Pro:~ Ramezanpour$ cd desktop/macserver

    Ramezanpour-MacBook-Pro:macserver Ramezanpour$ java -jar B4iBuildServer.jar

    Build server version: 1.5

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    2015-01-30 16:07:24.631:INFO::main: Logging initialized @2091ms

    Loading default configuration file.

    AppPath=/Users/Ramezanpour/Desktop/Macserver

    Creating key for: 192.168.83.1

    2015-01-30 16:07:30.127:INFO:eek:ejs.Server:main: jetty-9.1.z-SNAPSHOT

    2015-01-30 16:07:30.166:WARN:eek:ejh.MimeTypes:main: java.util.MissingResourceException: Can't find bundle for base name org/eclipse/jetty/http/encoding, locale en_US

    2015-01-30 16:07:30.229:INFO:eek:ejsh.ContextHandler:main: Started o.e.j.s.ServletContextHandler@7d417077{/,file:/Users/Ramezanpour/Desktop/Macserver/www,AVAILABLE}

    2015-01-30 16:07:30.236:INFO:eek:ejs.AbstractNCSARequestLog:main: Opened /Users/Ramezanpour/Desktop/Macserver/logs/b4j-2015_01_30.request.log

    2015-01-30 16:07:30.417:INFO:eek:ejs.ServerConnector:main: Started ServerConnector@6e8dacdf{HTTP/1.1}{0.0.0.0:51041}

    2015-01-30 16:07:31.106:INFO:eek:ejs.ServerConnector:main: Started ServerConnector@467aecef{SSL-http/1.1}{0.0.0.0:51042}

    2015-01-30 16:07:31.108:INFO:eek:ejs.Server:main: Started @8776ms

    Build server is ready

    https://192.168.83.1:51042

    http://192.168.83.1:51041







    ----
    but 192.168.81.1 is not my ip !
     
  14. Erel

    Erel Administrator Staff Member Licensed User

    That is the answer.

    You need to follow the Multiple IPs section in the Mac installation tutorial.
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice