Skip to content

Host IP will not update #56

Description

@goatatwork

Hello,

LaravelCollective/remote has been working great for quite some time. I needed to change the IP address of one of the servers, so off to app/remote.php I went. I made the change. In my Laravel project, I can php artisan tinker and SSH::into('dhcp_server')->run(["ls -l /etc"])

However, one of my Listeners calls SSH::into('dhcp_server').... also. When I fire the event, the listener executes, but is trying to use the OLD IP that is no longer in app/remote.php. I am very confused as to what might be causing this. Artisan commands I've blindly run: clear-compiled, cache:clear, config:clear, config:cache, and view:clear. Still it continues to attempt to connect to the old IP. Here is the error. The IP shown here is the old IP.

production.ERROR: ErrorException: Cannot connect to 10.0.0.101:22. Error 113. No route to host in /usr/share/nginx/html/goldaccess/vendor/phpseclib/phpseclib/phpseclib/Net/SSH2.php:1011

Thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions