@extends('layouts.app') @section('title', 'TCP Port ' . $tcpPort->port . ' - ' . $site->name) @section('content')

Port {{ $tcpPort->port }} - {{ $tcpPort->display_name }}

Edit
@csrf @method('DELETE')
Port Details
Site
{{ $site->name }}
{{ $site->url }}
Port Number
{{ $tcpPort->port }}
Port Name
{{ $tcpPort->display_name }}
Status
{{ $tcpPort->status_text }}
Monitoring
@if($tcpPort->is_active) Active @else Inactive @endif
Last Checked
@if($tcpPort->last_checked_at) {{ $tcpPort->last_checked_at->format('Y-m-d H:i:s') }}
{{ $tcpPort->last_checked_at->diffForHumans() }} @else Never @endif
@if($tcpPort->response_time_ms)
Response Time
{{ $tcpPort->response_time_ms }}ms
@endif
Created
{{ $tcpPort->created_at->format('Y-m-d H:i:s') }}
{{ $tcpPort->created_at->diffForHumans() }}
About Port {{ $tcpPort->port }}
@php $commonPorts = \App\Models\TcpPort::getCommonPorts(); $portInfo = $commonPorts[$tcpPort->port] ?? null; @endphp @if($portInfo)

Common Service: {{ $portInfo }}

@endif

This monitor checks if port {{ $tcpPort->port }} is accessible on {{ $site->url }}. Checks run every 10 minutes when monitoring is active.

Current Status
{{ $tcpPort->status_text }}
@if($tcpPort->is_open)

Port is accessible

@elseif($tcpPort->is_open === false)

Port is not accessible

@else

Not yet checked

@endif
@endsection