Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

FOP2 Community Forum

  1. Home
  2. Support
  3. Connecting to localhost:5038 (Server 0) failed

Connecting to localhost:5038 (Server 0) failed

Scheduled Pinned Locked Moved Support
4 Posts 2 Posters 832 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L
    L
    luganet
    wrote on last edited by
    #1

    Hi,
    I made an installation of fop2, the service start, the test pass /usr/local/fop2/fop2_server --test
    Flash Operator Panel 2 - No valid license found. Demo Mode
    Connection to manager OK!
    But when I try to login via web doesn't work (Could not connect to server)
    If I start the fop in debug mode I see MANAGER CONNECTION Connecting to localhost:5038 (Server 0) failed.
    fop2.cfg
    [general]
    ; AMI definitions
    manager_host=127.0.0.1
    manager_port=5038
    manager_user=admin
    manager_secret=amp111
    ;event_mask=call,agent

    manager.conf
    ;
    [general]
    enabled = yes
    port = 5038
    bindaddr = 127.0.0.1

    [admin]
    secret = amp111
    deny=0.0.0.0/0.0.0.0
    permit=127.0.0.1/255.255.255.0
    permit=172.23.1.50/255.255.255.255
    read = all,system,call,log,verbose,command,agent,user,originate
    write = all,system,call,log,verbose,command,agent,user,originate

    I Made the same config on another sercer and all works great.
    What can I check?
    thanks

    1 Reply Last reply
    0
    • N
      N
      nicolas
      wrote on last edited by
      #2

      That you cannot connect via web it does not mean that the server can connect to the manager or not. Fop2 uses port 4445 for web client connections, if you see attempts to connect to the server count and fail, then you have problems connecting to port 4445, either because it is blocked, you do not have the flash player installed or fop2_server is not running.

      Regarding the issue about connecting to the manager, on some machines localhost is not pointed to 127.0.0.1, so you might want to change the host in fop2.cfg to the ip address.

      However, as I said, it is not going to fix your client connection problems. If you are still running FOP(1), it uses port 4445 by default and you should change fop port to something else editing /var/www/html/panel/op_server.cfg or disable fop1 so you can safely start fop2.

      Best regards,

      1 Reply Last reply
      0
      • L
        L
        luganet
        wrote on last edited by
        #3

        Thanks for the reply,
        the fop1 service is stoped.
        If I make the following command "netstat -anp | grep 4445" the output is:
        tcp 0 0 0.0.0.0:4445 0.0.0.0:* LIST EN 13499/fop2_server

        in the fop.cfg i wrote manager_host=127.0.0.1

        Is not a browser plugin problem because I insalled the fop2 in the exactly same mode on another asterisk and it work.

        Other ideas?

        1 Reply Last reply
        0
        • L
          L
          luganet
          wrote on last edited by
          #4

          Ah I foud the problem, it was the firewall that deny the port 4445.
          Thanks

          1 Reply Last reply
          0

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          Powered by NodeBB Contributors
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups